
/* ==================================================
   ACADEMIE DARWIN
   Feuille de style complete
   Version : 2.0
   ================================================== */

/* 1. VARIABLES ET REGLAGES GENERAUX */

:root {
    --navy: #101c35;
    --navy-light: #1b2c4b;
    --blue: #3457a5;
    --blue-light: #edf2ff;
    --gold: #d6ad62;
    --gold-light: #f8f0df;
    --white: #ffffff;
    --background: #f7f8fc;
    --text: #27344a;
    --muted: #718096;
    --border: #e6eaf1;
    --green: #49a77a;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(16, 28, 53, 0.07);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: var(--gold-light);
    color: var(--navy);
}


/* 2. EN-TETE ET NAVIGATION */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(1180px, calc(100% - 48px));
    min-height: 88px;
    margin: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.site-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.brand-name strong {
    font-weight: 800;
}

.brand-name span {
    color: var(--blue);
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.main-nav a {
    position: relative;
    padding: 11px 15px;
    border-radius: 9px;
    color: #58647a;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background: var(--background);
    color: var(--navy);
}

.main-nav a.active {
    background: var(--blue-light);
    color: var(--blue);
}

.main-nav a.active::after {
    position: absolute;
    bottom: -22px;
    left: 20%;
    width: 60%;
    height: 3px;
    border-radius: 5px;
    background: var(--gold);
    content: "";
}


/* 3. BOUTONS GENERAUX */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 7px 18px rgba(52, 87, 165, 0.18);
}

.btn-primary:hover {
    background: var(--navy);
    box-shadow: 0 10px 24px rgba(16, 28, 53, 0.2);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--background);
}

.btn-light {
    flex-shrink: 0;
    background: var(--white);
    color: var(--navy);
}

.btn-light:hover {
    background: var(--gold-light);
}


/* 4. PAGE ACCUEIL : HERO */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    padding: 100px max(24px, calc((100% - 1180px) / 2)) 110px;
    background:
        radial-gradient(ellipse at 95% 10%, #e8eefc 0, transparent 38%),
        linear-gradient(135deg, #ffffff 45%, #f5f7fc 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--navy);
    font-size: clamp(38px, 5vw, 61px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2px;
}

.hero h1 span,
.page-hero h1 span {
    color: var(--blue);
}

.hero-content > p {
    max-width: 560px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 29px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px #e6f6ed;
}


/* 5. ILLUSTRATION DE L'ACCUEIL */

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 370px;
}

.visual-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    border: 1px solid rgba(230, 234, 241, 0.9);
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(16, 28, 53, 0.12);
}

.visual-card-main {
    width: 330px;
    max-width: 90%;
    padding: 37px;
    transform: rotate(-2deg);
}

.visual-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 25px;
    border-radius: 17px;
    background: var(--gold-light);
    font-size: 29px;
}

.visual-label {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.visual-card-main h2 {
    margin: 12px 0;
    color: var(--navy);
    font-size: 25px;
    line-height: 1.35;
}

.visual-card-main p {
    color: var(--muted);
    font-size: 13px;
}

.visual-card-small {
    position: absolute;
    right: -10px;
    bottom: 25px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 19px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

.small-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e6f7ee;
    color: #21875a;
    font-weight: 800;
}

.visual-card-small strong {
    display: block;
    color: var(--navy);
    font-size: 12px;
}

.visual-card-small p {
    color: var(--muted);
    font-size: 10px;
}

.visual-decoration {
    position: absolute;
    width: 95px;
    height: 95px;
    border: 2px solid rgba(214, 173, 98, 0.45);
    border-radius: 25px;
    transform: rotate(25deg);
}

.decoration-one {
    top: 12px;
    right: 30px;
}

.decoration-two {
    bottom: 25px;
    left: 0;
    width: 50px;
    height: 50px;
}


/* 6. SECTIONS COMMUNES */

.section {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    padding-top: 95px;
    padding-bottom: 95px;
}

.section-heading {
    max-width: 670px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-heading h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(27px, 3.5vw, 39px);
    line-height: 1.25;
    letter-spacing: -1px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 15px;
}


/* 7. CARTES DE PRESENTATION */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.feature-card {
    padding: 31px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin-bottom: 22px;
    border-radius: 15px;
    background: var(--blue-light);
    font-size: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 19px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}


/* 8. BANDEAU DE PRESENTATION DE L'EQUIPE */

.team-preview {
    padding: 75px 24px;
    background:
        radial-gradient(ellipse at 50% 0%, #263c62 0, transparent 65%),
        var(--navy);
    text-align: center;
}

.team-preview-content {
    max-width: 680px;
    margin: auto;
}

.team-preview .eyebrow {
    color: var(--gold);
}

.team-preview h2 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: clamp(27px, 4vw, 38px);
}

.team-preview p {
    margin-bottom: 27px;
    color: #c1cadd;
    font-size: 15px;
}


/* 9. APERCU DES SERVICES SUR L'ACCUEIL */

.mini-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mini-service {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 86px;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--background);
}

.mini-service > span {
    flex-shrink: 0;
    font-size: 23px;
}

.mini-service strong {
    color: var(--navy);
    font-size: 13px;
}

.center-action {
    margin-top: 32px;
    text-align: center;
}

.text-link {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.text-link:hover {
    color: var(--navy);
}


/* 10. BANDEAU DES PAGES INTERNES */

.page-hero {
    padding: 75px 24px 55px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(ellipse at 50% 0%, #edf2ff 0, transparent 68%),
        var(--background);
    text-align: center;
}

.page-hero .eyebrow {
    margin-bottom: 13px;
}

.page-hero h1 {
    margin-bottom: 15px;
    color: var(--navy);
    font-size: clamp(37px, 5vw, 53px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.page-hero > p {
    max-width: 610px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumb a {
    color: var(--blue);
    font-weight: 700;
}


/* 11. PAGE NOTRE EQUIPE */

.team-section {
    padding-top: 85px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 38px 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(16, 28, 53, 0.04);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.person-photo-wrapper {
    width: 156px;
    height: 156px;
    flex-shrink: 0;
    margin-bottom: 23px;
    padding: 5px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: var(--gold-light);
}

.person-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #e8edf5;
}

.person-tag {
    display: inline-block;
    margin-bottom: 11px;
    padding: 5px 12px;
    border-radius: 30px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.person-card h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 23px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.person-role {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.person-divider {
    width: 45px;
    height: 3px;
    margin: 22px 0;
    border-radius: 5px;
    background: var(--gold);
}

.person-description {
    width: 100%;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}


/* 12. BOUTONS MAIL DES DIRECTEURS */

.person-email-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 310px;
    min-width: 0;
    min-height: 45px;
    margin-top: 24px;
    padding: 10px 13px;
    border: 1px solid #e0e6f1;
    border-radius: 10px;
    background: #f6f8fc;
    color: var(--blue);
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.person-email-address {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
}

.person-email-arrow {
    flex-shrink: 0;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.person-email-button:hover {
    transform: translateY(-2px);
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(16, 28, 53, 0.12);
}

.person-email-button:hover .person-email-arrow {
    transform: translateX(3px);
}

.person-email-button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}


/* 13. MESSAGE SOUS LA PAGE EQUIPE */

.team-message {
    display: flex;
    align-items: center;
    gap: 25px;
    width: min(850px, calc(100% - 48px));
    margin: 0 auto 90px;
    padding: 30px;
    border: 1px solid #eee3cd;
    border-radius: 17px;
    background: #fcf9f2;
}

.team-message-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 15px;
    background: var(--gold-light);
    color: #9b762e;
    font-size: 30px;
}

.team-message h2 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 19px;
}

.team-message p {
    color: var(--muted);
    font-size: 13px;
}


/* 14. PAGE NOS SERVICES */

.services-section {
    padding-top: 85px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 23px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 59px;
    height: 59px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--blue-light);
    font-size: 27px;
}

.service-number {
    margin-bottom: 9px;
    color: #a08347;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.4;
}

.service-card > p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.service-importance {
    width: 100%;
    margin-top: auto;
    padding: 17px 19px;
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    background: #fbf8f1;
}

.service-importance strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 13px;
}

.service-importance p {
    color: #667085;
    font-size: 13px;
    line-height: 1.8;
}

.service-card .service-note {
    margin-top: 14px;
    margin-bottom: 0;
    color: #9a7431;
    font-size: 12px;
    font-style: italic;
}


/* 15. BANDEAU CONTACT DES SERVICES */

.contact-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 90px;
    padding: 45px;
    border-radius: 20px;
    background: var(--navy);
}

.contact-banner .eyebrow {
    margin-bottom: 10px;
    color: var(--gold);
}

.contact-banner h2 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: clamp(23px, 3vw, 31px);
}

.contact-banner p {
    max-width: 600px;
    color: #c1cadd;
    font-size: 14px;
}


/* 16. PAGE NOUS CONTACTER */

.contact-page-section {
    padding-top: 85px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
}

.contact-card-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--blue-light);
    color: var(--blue);
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-number {
    color: #a08347;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.4;
}

.contact-description {
    flex: 1;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.contact-email {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    margin-bottom: 3px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fafbfe;
}

.contact-email-label {
    color: #8993a4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.contact-email a {
    overflow-wrap: anywhere;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.contact-email a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.contact-action {
    max-width: none;
    margin-top: 16px;
}

.contact-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 90px;
    padding: 35px;
    border: 1px solid #eee3cd;
    border-radius: 18px;
    background: #fcf9f2;
}

.contact-bottom h2 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 22px;
}

.contact-bottom p {
    color: var(--muted);
    font-size: 13px;
}

.contact-bottom .btn {
    flex-shrink: 0;
}


/* 17. PIED DE PAGE */

.site-footer {
    padding: 43px 24px 23px;
    border-top: 1px solid var(--border);
    background: #fafbfe;
}

.footer-container {
    width: min(1180px, 100%);
    margin: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 47px;
    height: 47px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-brand strong {
    color: var(--navy);
    font-size: 15px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 26px 0;
}

.footer-links a {
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--blue);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: #8993a4;
    font-size: 11px;
}


/* 18. ACCESSIBILITE */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* 19. TABLETTES */

@media (max-width: 900px) {
    .header-container {
        width: calc(100% - 32px);
        gap: 15px;
    }

    .brand-name {
        font-size: 18px;
    }

    .site-logo {
        width: 47px;
        height: 47px;
    }

    .main-nav {
        gap: 2px;
    }

    .main-nav a {
        padding: 10px;
        font-size: 12px;
    }

    .main-nav a.active::after {
        bottom: -24px;
    }

    .hero {
        grid-template-columns: 1fr 0.8fr;
        gap: 25px;
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .visual-card-main {
        padding: 25px;
    }

    .visual-card-main h2 {
        font-size: 21px;
    }

    .feature-grid {
        gap: 14px;
    }

    .feature-card {
        padding: 22px;
    }

    .mini-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* 20. MOBILES */

@media (max-width: 640px) {
    .header-container {
        min-height: auto;
        padding-top: 13px;
        padding-bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .brand {
        justify-content: center;
    }

    .site-logo {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 18px;
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .main-nav a {
        padding: 10px 5px;
        text-align: center;
        font-size: 11px;
    }

    .main-nav a.active::after {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 60px 24px 65px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1.3px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-note {
        align-items: flex-start;
        font-size: 11px;
    }

    .hero-visual {
        min-height: 320px;
        margin: 0 8px;
    }

    .visual-card-main {
        width: 300px;
        padding: 28px;
    }

    .visual-card-small {
        right: -3px;
        bottom: 8px;
        padding: 12px;
    }

    .section {
        width: calc(100% - 36px);
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 26px;
    }

    .team-preview {
        padding: 60px 24px;
    }

    .mini-services {
        grid-template-columns: 1fr;
    }

    .mini-service {
        min-height: 72px;
    }

    .page-hero {
        padding: 55px 20px 40px;
    }

    .page-hero h1 {
        font-size: 39px;
    }

    .team-section,
    .services-section,
    .contact-page-section {
        padding-top: 60px;
    }

    /* Les deux directeurs restent cote a cote */
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .person-card {
        padding: 22px 12px;
    }

    .person-photo-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 17px;
    }

    .person-card h3 {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .person-tag {
        padding: 5px 8px;
        font-size: 9px;
    }

    .person-role {
        font-size: 11px;
    }

    .person-divider {
        margin: 15px 0;
    }

    .person-description {
        font-size: 12px;
    }

    .person-email-button {
        gap: 4px;
        margin-top: 18px;
        padding: 9px 7px;
    }

    .person-email-address {
        font-size: 10px;
    }

    .person-email-arrow {
        font-size: 16px;
    }

    .team-message {
        align-items: flex-start;
        flex-direction: column;
        width: calc(100% - 36px);
        margin-bottom: 65px;
        padding: 24px;
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .contact-card {
        padding: 25px;
    }

    .contact-banner {
        align-items: flex-start;
        flex-direction: column;
        width: calc(100% - 36px);
        margin-bottom: 65px;
        padding: 28px 23px;
    }

    .contact-banner .btn {
        width: 100%;
    }

    .contact-bottom {
        align-items: stretch;
        flex-direction: column;
        width: calc(100% - 36px);
        margin-bottom: 65px;
        padding: 25px;
    }

    .contact-bottom .btn {
        width: 100%;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-brand p {
        max-width: 250px;
    }

    .footer-links {
        gap: 16px;
    }
}


/* 21. TRES PETITS ECRANS */

@media (max-width: 360px) {
    .header-container {
        width: calc(100% - 24px);
    }

    .brand-name {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .person-card {
        padding: 18px 8px;
    }

    .person-photo-wrapper {
        width: 82px;
        height: 82px;
    }

    .person-card h3 {
        font-size: 14px;
    }

    .person-role {
        font-size: 10px;
    }

    .person-email-address {
        font-size: 9px;
    }

    .person-email-button {
        padding: 8px 5px;
    }
}
