
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

header {
    /* background: linear-gradient(135deg, #0a4f7d 0%, #1a659e 100%); */
    background: linear-gradient(90deg, #4ade80 0%, #60a5fa 100%);
    color: white;
    padding: 0.1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
}

.logo-text .ordi {
    color: #0a4f7d;
    background: white;
    padding: 0 5px;
    border-radius: 3px;
}

.logo-text .secours {
    color: #e74c3c;
}

.logo-icon {
    width: 120px;
    height: 120px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1.4rem;
}

nav a:hover {
    color: #f9a825;
}


.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.hero {
    background: linear-gradient(135deg, #0a4f7d 0%, #1a659e 100%);
    color: white;
    padding: 2.2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 70px;
    /* background: linear-gradient(90deg, #4ade80 0%, #60a5fa 100%); */
    background: linear-gradient(90deg, #1d7ebe 0%, #1a659e 100%);
    transform: skewY(-2deg);
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.devis-badge {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 35px;
    right: 30px;
    transform: rotate(5deg);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.content {
    padding: 2rem 0;
}

.info-section {
    background: white;
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #f9a825;
}

.info-section h2 {
    color: #0a4f7d;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.info-section p {
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 1.05rem;
}

.why-choose {
    background: white;
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.why-choose h2 {
    color: #0a4f7d;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.advantages {
    display: grid;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4ade80;
}

.advantage-item .check {
    color: #4ade80;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.advantage-item p {
    margin: 0;
    font-size: 1.05rem;
}

.credit-impot {
    /* background: linear-gradient(135deg, #44a5e6 0%, #1a659e 100%); */
    background: #f8f9fa;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
    border: 3px solid #f9a825;
}

.credit-impot p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e74c3c;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #f9a825;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #0a4f7d;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #555;
}

.contact-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border-left: 5px solid #4ade80;
}

.contact-info-box h2 {
    color: #0a4f7d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-detail strong {
    color: #0a4f7d;
    min-width: 120px;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form h3 {
    color: #0a4f7d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0a4f7d;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f9a825;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn {
    background: linear-gradient(135deg, #f9a825 0%, #f57c00 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 168, 37, 0.4);
}

footer {
    background: linear-gradient(135deg, #0a4f7d 0%, #1a659e 100%);
    color: white;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -35px;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(90deg, #4ade80 0%, #60a5fa 100%);
    transform: skewY(-2deg);
}

footer .container {
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0.5rem 0;
}

.success-message {
    background: #4ade80;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
    font-weight: bold;
}

/* Menu de base */
nav#main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.champsObli{
    color: #0a4f7d;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, #0a4f7d 0%, #1a659e 100%);
        transition: right 0.3s;
        padding-top: 80px;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .hero h1 {
        margin-top: 15px;
        font-size: 1.2rem;
    }

    .logo-icon {
        height: 120px;
    }

    .devis-badge {
        top: 8px;
        right: 10px;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .why-choose h2 {
        font-size: 1.2rem;
    }

    .info-section h2 {
        font-size: 1.2rem;
    }

    .contact-details {
        font-size: 0.9rem;
    }

    footer .container {
        padding: 0 70px;
    }

    .contact-info-box {
        padding: 1.2rem;
    }
    .contact-form {
        padding: 1.2rem;
    }

}
