/* ================================
   RESET & VARIABLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

:root {
    --green: #c5cf67;
    --green-dark: #b3bd55;
    --blue: #2c5f8d;
    --blue-dark: #1e4a6f;
    --text-primary: #2c5f8d;
    --text-secondary: #5a6c7d;
    --text-light: #8b95a0;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-white);
}

/* ================================
   TYPOGRAPHIE
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }

p {
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ================================
   TOP CONTACT BAR
   ================================ */
.top-contact-bar {
    background: var(--blue);
    color: white;
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--green);
}

.top-contact-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 2.5rem;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.top-contact-item i {
    color: var(--green);
}

.top-contact-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.top-contact-item a:hover {
    color: var(--green);
}

/* ================================
   HEADER
   ================================ */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--bg-white);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-top .social-links {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.header-top .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blue);
    transition: var(--transition);
}

.header-top .social-links a:hover {
    background: var(--green);
    color: white;
    transform: translateY(-2px);
}

/* ================================
   NAVIGATION
   ================================ */
nav {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.nav-links > li > a:hover {
    background: rgba(197, 207, 103, 0.1);
    color: var(--green);
}

/* Sous-menu */
.has-submenu .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    min-width: 320px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.75rem;
    list-style: none;
    z-index: 1001;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li a {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    gap: 1rem;
    transition: var(--transition);
}

.submenu li a i {
    color: var(--green);
    width: 24px;
}

.submenu li a:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Hamburger */
.hamburger, .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    cursor: pointer;
}

.hamburger span, .menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ================================
   BOUTONS
   ================================ */
.cta-button, .btn-primary, .cta-primary, .cta-secondary, .cta-tertiary, .cta-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    background: var(--green);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(197, 207, 103, 0.25);
}

.cta-button:hover, .btn-primary:hover, .cta-primary:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 141, 0.3);
}

.cta-secondary {
    background: white;
    color: var(--green);
    border: 2px solid var(--green);
}

.cta-secondary:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.cta-tertiary {
    background: var(--green);
    color: white;
    border: 2px solid var(--green);
}

.cta-tertiary:hover {
    background: white;
    color: var(--blue);
}

.cta-white {
    background: white;
    color: var(--blue);
    border: 2px solid white;
}

.cta-white:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.cta-buttons-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   HERO
   ================================ */

/* ================================
   SECTIONS
   ================================ */
section {
    padding: 6rem 2rem;
}

section:nth-child(even) {
    background: var(--bg-light);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    border-radius: 2px;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* ================================
   CARTES SERVICES - STYLE ÉQUIPE
   ================================ */
.services, .services-photo-grid {
    background: white;
}

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

.service-photo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.service-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}

.service-photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.service-photo-card:hover img {
    transform: scale(1.05);
}

.service-photo-overlay {
    padding: 2rem;
    text-align: center;
}

.service-photo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(197, 207, 103, 0.15), rgba(197, 207, 103, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-photo-card:hover .service-photo-icon {
    background: var(--green);
    transform: scale(1.1) rotate(5deg);
}

.service-photo-icon i {
    font-size: 1.75rem;
    color: var(--green);
    transition: var(--transition);
}

.service-photo-card:hover .service-photo-icon i {
    color: white;
}

.service-photo-overlay h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-photo-overlay p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* ================================
   PAGES PREVIEW - EXPLOREZ NOTRE SITE
   ================================ */
.pages-preview {
    background: var(--bg-light);
}

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

.page-preview-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.page-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}

.page-preview-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.page-preview-card:hover .page-preview-image {
    transform: scale(1.05);
}

.page-preview-content {
    padding: 2rem;
}

.page-preview-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(197, 207, 103, 0.15), rgba(197, 207, 103, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.page-preview-icon i {
    font-size: 1.5rem;
    color: var(--green);
}

.page-preview-content h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-preview-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.preview-link {
    color: var(--green);
    font-weight: 700;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.page-preview-card:hover .preview-link {
    gap: 0.75rem;
    color: var(--blue);
}

/* ================================
   VALUES - NOTRE PROMESSE
   ================================ */
.values {
    background: white;
}

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

.value-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.value-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white;
    text-align: center;
}

.cta-section-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

/* ================================
   GRILLE SERVICES PAGE
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 16px 16px 0 0;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(197, 207, 103, 0.15), rgba(197, 207, 103, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--green);
}

.service-card-icon i {
    font-size: 2rem;
    color: var(--green);
    transition: var(--transition);
}

.service-card:hover .service-card-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ================================
   ÉQUIPE
   ================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}

.team-member-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 2rem;
    text-align: center;
}

.team-member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member-info .role {
    color: var(--green);
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================
   CONTACT
   ================================ */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-box {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-box-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(197, 207, 103, 0.15), rgba(197, 207, 103, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-box-icon i {
    font-size: 1.75rem;
    color: var(--green);
}

.contact-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-box a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-box a:hover {
    color: var(--green);
}

/* ================================
   FORMULAIRES - VERT AU LIEU DE JAUNE
   ================================ */
.contact-form, .application-form {
    max-width: 700px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(197, 207, 103, 0.1);
}

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

.form-group button {
    width: 100%;
    padding: 1.125rem 2rem;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.form-group button:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

/* Messages - VERT au lieu de Jaune */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #c3e6cb;
    margin-bottom: 1.5rem;
}

.error-message {
    background: linear-gradient(135deg, rgba(197, 207, 103, 0.15), rgba(197, 207, 103, 0.05));
    color: var(--text-primary);
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--green);
    margin-bottom: 1.5rem;
}

/* ================================
   FOOTER
   ================================ */
footer {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-section i {
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    background: white;
    color: var(--green);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* ================================
   COOKIE CONSENT
   ================================ */
#cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.16);
    z-index: 9999;
    display: none;
}

#cookie-consent.show {
    display: block;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text strong {
    color: var(--text-primary);
}

.cookie-text a {
    color: var(--green);
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--green);
    color: white;
}

.cookie-accept:hover {
    background: var(--blue);
}

.cookie-decline {
    background: var(--bg-light);
    color: var(--text-secondary);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .hamburger, .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links > li {
        width: 100%;
    }
    
    .nav-links > li > a {
        padding: 1rem 2rem;
        border-radius: 0;
    }
    
    .has-submenu .submenu {
        position: static;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0.5rem 0;
    }
    
    .hero {
        padding: 5rem 1.5rem 4rem;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .services-photo-grid, .pages-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .top-contact-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    #cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

/* ================================
   IMAGE HERO RESPONSIVE
   ================================ */
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1200px) {
    .hero-image {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        min-height: 400px;
    }
    
    .hero-background img {
        object-position: center center;
    }
}

@media (max-width: 480px) {
    .hero-image {
        min-height: 350px;
    }
}

/* ================================
   SERVICE DETAIL - SANS OVERLAY BLEU
   ================================ */
.service-detail-hero {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PAS D'OVERLAY BLEU - juste une légère ombre en bas */
.service-detail-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

/* ================================
   FORMULAIRES PROFESSIONNELS
   ================================ */
.contact-form, .application-form {
    max-width: 800px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(197, 207, 103, 0.1);
    background: white;
}

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

.form-group button,
.form-submit {
    width: 100%;
    padding: 1.125rem 2rem;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(197, 207, 103, 0.25);
    margin-top: 1rem;
}

.form-group button:hover,
.form-submit:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 141, 0.3);
}

/* Messages succès/erreur */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #c3e6cb;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.error-message {
    background: linear-gradient(135deg, rgba(197, 207, 103, 0.15), rgba(197, 207, 103, 0.05));
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--green);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsive formulaires */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.75rem;
    }
    
    .contact-form, .application-form {
        padding: 2rem 1.5rem;
    }
}

/* ================================
   MENU HAMBURGER RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .menu-toggle,
    .hamburger,
    #menuToggle {
        display: flex !important;
        flex-direction: column;
        gap: 0.375rem;
        cursor: pointer;
        padding: 0.5rem;
        background: transparent;
        border: none;
    }
    
    .menu-toggle span,
    .hamburger span,
    #menuToggle span {
        width: 26px;
        height: 2.5px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: var(--transition);
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        gap: 0;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links > li {
        width: 100%;
    }
    
    .nav-links > li > a {
        padding: 1rem 2rem;
        border-radius: 0;
        display: block;
    }
    
    .has-submenu .submenu {
        position: static;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0.5rem 0;
    }
}

/* ================================
   TOUTES IMAGES RESPONSIVE
   ================================ */

/* Images générales responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Images dans les sections */
section img,
.hero img,
.service-card img,
.team-member img,
.why-choose-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Images hero background */
.hero {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Images dans les cartes services page d'accueil */
.service-photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

/* Images dans les cartes équipe */
.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

/* Images dans les cartes "Notre promesse" */
.why-choose-card img {
    width: 100%;
    max-width: 100px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Image hero page d'accueil (hero-team.jpg) */
.hero-image .hero-background img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
}

/* Images pages preview */
.preview-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Responsive breakpoints pour images */
@media (max-width: 1200px) {
    .hero-image .hero-background img {
        min-height: 500px;
    }
    
    .team-member img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .hero-image .hero-background img {
        min-height: 400px;
    }
    
    .service-photo-card img {
        height: 200px;
    }
    
    .team-member img {
        height: 250px;
    }
    
    .preview-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-image .hero-background img {
        min-height: 350px;
    }
    
    .service-photo-card img {
        height: 180px;
    }
    
    .team-member img {
        height: 220px;
    }
    
    .preview-card img {
        height: 160px;
    }
}

/* Assurer que toutes les images de fond sont responsive */
[style*="background-image"],
[style*="background:"] {
    background-size: cover !important;
    background-position: center !important;
}
