/* =========================================================================
   Styles globaux : body, typo, layout, header, footer, boutons
   ========================================================================= */

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

/* Cache les éléments Alpine avant init */
[x-cloak] { display: none !important; }

/* -------------------------------------------------------------------------
   Typographie
   ----------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    line-height: var(--lh-tight);
    letter-spacing: -0.01em;
    color: var(--color-primary);
    font-weight: 500;
}

h1, .h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2, .h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3, .h3 { font-size: var(--fs-xl); }
h4, .h4 { font-size: var(--fs-lg); }
h5, .h5 { font-size: var(--fs-md); }
h6, .h6 { font-size: var(--fs-base); }

/* Italique éditorial pour les surtitres */
.italic-serif {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

/* Signature manuscrite Léa */
.signature {
    font-family: var(--font-signature);
    font-weight: 600;
    color: var(--color-accent);
    font-size: var(--fs-2xl);
    line-height: 1;
}

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--color-primary);
    transition: color var(--transition);
}
a:hover, a:focus {
    color: var(--color-accent);
}

strong { font-weight: 600; }

::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

/* -------------------------------------------------------------------------
   Container & sections
   ----------------------------------------------------------------------- */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}
.container-narrow { max-width: var(--container-narrow); }
.container-wide   { max-width: 1400px; }

.section {
    padding: 7rem 0;
    position: relative;
}
.section--compact { padding: 4rem 0; }
.section--soft    { background: var(--color-bg-soft); }
.section--cream   { background: var(--color-cream); }
.section--dark    { background: var(--color-bg-dark); color: var(--color-white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-accent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}
.section-title em {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 400;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: var(--fs-md);
    max-width: 680px;
    margin: 0 auto;
}

/* -------------------------------------------------------------------------
   Boutons
   ----------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.btn:hover svg { transform: translateX(3px); }

.btn-primary,
.btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-primary:hover,
.btn-accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(4, 173, 186, 0.3);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background: transparent;
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-sm  { padding: 10px 22px; font-size: var(--fs-xs); }
.btn-lg  { padding: 18px 40px; font-size: var(--fs-base); }
.btn-xl  { padding: 22px 48px; font-size: var(--fs-md); }
.btn-full{ width: 100%; }
.mt-1    { margin-top: 1rem; }

/* -------------------------------------------------------------------------
   Grilles utilitaires
   ----------------------------------------------------------------------- */

.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* -------------------------------------------------------------------------
   Reveal animations (IntersectionObserver)
   ----------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.is-visible,
.reveal-right.is-visible { transform: translateX(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* -------------------------------------------------------------------------
   Prose (wysiwyg)
   ----------------------------------------------------------------------- */

.prose h2 {
    font-size: var(--fs-2xl);
    margin-top: 2.5em;
    margin-bottom: 0.6em;
}
.prose h3 {
    font-size: var(--fs-xl);
    margin-top: 2em;
    margin-bottom: 0.4em;
}
.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1.2em;
}
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul li { list-style: disc; margin-bottom: 0.4em; }
.prose ol li { list-style: decimal; margin-bottom: 0.4em; }
.prose a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prose img {
    border-radius: var(--radius-md);
    margin: 2em 0;
}
.prose blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 0.5em 0 0.5em 1.75rem;
    margin: 2em 0;
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-style: italic;
    color: var(--color-primary-soft);
}

/* Drop cap pour les paragraphes éditoriaux */
.prose--editorial > p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 4em;
    line-height: 0.85;
    float: left;
    padding: 0.1em 0.15em 0 0;
    color: var(--color-accent);
    font-weight: 500;
}

/* -------------------------------------------------------------------------
   Header — pill flottant full-width
   - Transparent au-dessus du hero (homepage uniquement)
   - Mode pill (rounded glassmorphism) au scroll OU sur pages internes
   ----------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    transition:
        top      0.5s var(--ease-out-expo),
        left     0.5s var(--ease-out-expo),
        right    0.5s var(--ease-out-expo),
        background  0.4s var(--ease-out-expo),
        box-shadow  0.4s var(--ease-out-expo),
        border      0.4s var(--ease-out-expo),
        border-radius 0.5s var(--ease-out-expo);
}

/* État PILL : déclenché par scroll, par ouverture menu mobile, ou pour toutes les pages non-homepage.
   Fond foncé (charte graphique) avec un léger blur — contraste fort avec le contenu derrière. */
.site-header.is-scrolled,
.site-header.menu-open {
    top: 14px;
    left: 14px;
    right: 14px;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.28),
        0 2px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* En pill noir : tout le contenu (menu, logo, burger) bascule en blanc */
.site-header.is-scrolled .nav-desktop a,
.site-header.menu-open .nav-desktop a,
.site-header.is-scrolled .site-logo-text,
.site-header.menu-open .site-logo-text {
    color: var(--color-white);
}
.site-header.is-scrolled .nav-desktop a::after,
.site-header.menu-open .nav-desktop a::after {
    background: var(--color-accent);
}
.site-header.is-scrolled .burger span,
.site-header.menu-open .burger span {
    background: var(--color-white);
}
/* Logo image : le SVG est déjà en turquoise sur fond transparent, pas besoin de filtre */


/* Pages internes, avant scroll : header transparent, texte sombre
   (les heros internes sont clairs). La pill apparaît au scroll,
   exactement comme sur la page d'accueil. */
body:not(.home):not(.front-page) .site-header:not(.is-scrolled):not(.menu-open) .nav-desktop a,
body:not(.home):not(.front-page) .site-header:not(.is-scrolled):not(.menu-open) .site-logo-text {
    color: var(--color-text, #1f2d2f);
}
body:not(.home):not(.front-page) .site-header:not(.is-scrolled):not(.menu-open) .burger span {
    background: var(--color-text, #1f2d2f);
}

/* Le header-inner override le .container : on veut toute la largeur disponible.
   Grid 3 colonnes (1fr auto 1fr) → le menu central est parfaitement aligné
   sur le centre du viewport, indépendamment des largeurs du logo et du CTA. */
.site-header .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: var(--header-height);
    gap: 2rem;
    max-width: none;            /* annule .container max-width */
    padding: 0 clamp(20px, 3vw, 40px);
    transition: min-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
}
.site-header .site-logo      { justify-self: start; }
.site-header .nav-desktop    { justify-self: center; }
.site-header .header-actions { justify-self: end; }

/* En pill : header plus mince + padding latéral augmenté (compense les coins arrondis) */
.site-header.is-scrolled .header-inner,
.site-header.menu-open .header-inner {
    min-height: 72px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* CTA navbar : forme pill cohérente avec la barre */
.site-header .header-cta {
    border-radius: 999px;
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.site-logo img {
    height: 44px;
    width: auto;
    display: block;
    transform: translateY(-1px);
}
.site-logo-text {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--color-primary);
}
.site-logo-text span { color: var(--color-accent); }

/* Header transparent → texte blanc avant scroll, sur homepage uniquement */
.home .site-header:not(.is-scrolled):not(.menu-open) .site-logo-text,
.home .site-header:not(.is-scrolled):not(.menu-open) .nav-desktop a {
    color: var(--color-white);
}
.home .site-header:not(.is-scrolled):not(.menu-open) .burger span {
    background: var(--color-white);
}
.home .site-header:not(.is-scrolled):not(.menu-open) .nav-desktop a::after {
    background: var(--color-white);
}

/* Nav desktop */
.nav-desktop {
    display: flex;
    justify-content: center;
}
.nav-desktop .nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}
.nav-desktop > ul > li,
.nav-desktop .nav-list > li {
    position: relative;
}
.nav-desktop a {
    position: relative;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary);
    padding: 8px 0;
    transition: color var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: all var(--transition);
}
.nav-desktop a:hover::after,
.nav-desktop .current-menu-item > a::after,
.nav-desktop .current_page_item > a::after {
    width: 100%;
    left: 0;
}

/* Sous-menu desktop */
.nav-desktop .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    padding: 0.75rem 0;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 10;
}
.nav-desktop .menu-item-has-children:hover > .sub-menu,
.nav-desktop .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-desktop .sub-menu li { list-style: none; }
.nav-desktop .sub-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 12px;
    color: var(--color-primary);
}
.nav-desktop .sub-menu a::after { display: none; }
.nav-desktop .sub-menu a:hover {
    color: var(--color-accent);
    background: var(--color-cream);
}

/* Le sous-menu est un panneau BLANC : ses liens restent foncés quel que
   soit l'état du header (sinon, header transparent de l'accueil ou mode
   pill/scroll : texte blanc sur blanc = invisible). Chaque état du header
   qui recolore les liens a son pendant ici, avec une spécificité au moins
   égale. */
.site-header .nav-desktop .sub-menu a,
.site-header.is-scrolled .nav-desktop .sub-menu a,
.site-header.menu-open .nav-desktop .sub-menu a,
.home .site-header:not(.is-scrolled):not(.menu-open) .nav-desktop .sub-menu a,
body:not(.home):not(.front-page) .site-header .nav-desktop .sub-menu a,
body:not(.home):not(.front-page) .site-header:not(.is-scrolled):not(.menu-open) .nav-desktop .sub-menu a {
    color: var(--color-primary);
}
.site-header .nav-desktop .sub-menu a:hover,
.site-header.is-scrolled .nav-desktop .sub-menu a:hover,
.site-header.menu-open .nav-desktop .sub-menu a:hover,
.home .site-header:not(.is-scrolled):not(.menu-open) .nav-desktop .sub-menu a:hover,
body:not(.home):not(.front-page) .site-header .nav-desktop .sub-menu a:hover,
body:not(.home):not(.front-page) .site-header:not(.is-scrolled):not(.menu-open) .nav-desktop .sub-menu a:hover {
    color: var(--color-accent);
}

/* CTA droite */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--color-primary);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}
.site-header.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.menu-open .burger span:nth-child(2) { opacity: 0; }
.site-header.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Drawer menu mobile */
.nav-mobile {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    z-index: var(--z-drawer);
    padding: 2rem 1.5rem;
    overflow-y: auto;
}
.nav-mobile ul {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}
.nav-mobile li { border-bottom: 1px solid var(--color-border); }
.nav-mobile a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.nav-mobile .sub-menu a {
    padding-left: 1rem;
    text-transform: none;
    color: var(--color-text-muted);
    font-weight: 400;
}
.nav-mobile a:hover { color: var(--color-accent); }

/* -------------------------------------------------------------------------
   Mobile sticky CTA bar (téléphone + contact)
   ----------------------------------------------------------------------- */

.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: var(--z-header);
    padding: 0.5rem;
    gap: 0.5rem;
}
.mobile-cta-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 12px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
}
.mobile-cta-bar svg { width: 18px; height: 18px; }
.mobile-cta-bar .cta-call    { background: var(--color-primary); color: var(--color-white); }
.mobile-cta-bar .cta-contact { background: var(--color-accent); color: var(--color-white); }

/* -------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */

.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(4, 173, 186, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-inner img.footer-brand-logo {
    max-height: 64px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-inner h3 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 360px;
}

.footer-contact address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: var(--fs-sm);
}
.footer-contact .footer-tel {
    display: inline-block;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}
.footer-contact .footer-tel:hover { color: var(--color-accent); }
.footer-contact .footer-email {
    display: inline-block;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.75);
    overflow-wrap: anywhere;
    transition: color var(--transition);
}
.footer-contact .footer-email:hover { color: var(--color-accent); }
.footer-contact .btn-outline {
    margin-top: 1rem;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}
.footer-contact .btn-outline:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.footer-social {
    display: flex;
    flex-direction: column;
}
.footer-social .social-links {
    display: flex;
    gap: 0.75rem;
}
.footer-social .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition);
}
.footer-social .social-links a:hover {
    color: var(--color-white);
    border-color: var(--color-accent);
    background: var(--color-accent);
    transform: translateY(-2px);
}
.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    font-size: var(--fs-xs);
    position: relative;
    z-index: 1;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--color-accent); }
.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* -------------------------------------------------------------------------
   Page hero générique
   ----------------------------------------------------------------------- */

.page-hero {
    padding: calc(var(--header-height) + 5rem) 0 4rem;
    background: var(--color-cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--color-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 60%, 0 0);
}
.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
}
.page-hero p {
    margin-top: 1.25rem;
    color: var(--color-text-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--fs-md);
}

.page-content {
    padding: 5rem 0 7rem;
}

/* -------------------------------------------------------------------------
   Pagination WP
   ----------------------------------------------------------------------- */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 4rem;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    color: var(--color-text);
    transition: all var(--transition);
}
.page-numbers:hover,
.page-numbers.current {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(4, 173, 186, 0.25);
}
.page-numbers.dots:hover {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
    box-shadow: none;
}

/* -------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */

@media (max-width: 1024px) {
    /* Sur mobile/tablette, on bascule le header en flex pour éviter les trous
       du grid 3-colonnes quand le menu desktop et le CTA sont masqués */
    .site-header .header-inner {
        display: flex;
        justify-content: space-between;
    }
    .nav-desktop,
    .header-actions {
        display: none;
    }
    .burger { display: flex; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 5rem 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom .container { flex-direction: column; align-items: flex-start; }
    .page-hero { padding: calc(var(--header-height) + 3rem) 0 3rem; }
    .mobile-cta-bar { display: flex; }
    body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
    :root { --container-padding: 0 18px; }
    .btn { padding: 12px 24px; font-size: var(--fs-xs); }
}
