@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

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

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

/* ── HERO ───────────────────────────────────────── */

.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 3;
    padding: 2rem;
    text-align: left;
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, transparent 40%);
}

/* aero32 — pas de majuscules */
.hero-title {
    font-size: 4.8rem;
    font-weight: bold;
    color: #ffbb02;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    /* Pas de text-transform */
}

/* Sous-titre orange ombré */
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffbb02;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* ── VARIABLES COULEURS SECTIONS ─────────────────── */

:root {
    --gold:        #1255A8;
    --gold-light:  #2B90E8;
    --bg-white:    #ffffff;
    --bg-warm:     #EEF4FF;
    --card-bg:     #ffffff;
    --card-border: #e5e0d8;
    --text-dark:   #1a1a1a;
    --text-mid:    #444444;
    --text-muted:  #888888;

    /* Bleus */
    --blue-deep:      #0F4A93;   /* barre haute, titres de section, appel a l'action */
    --bg-tint:        #F5F9FD;   /* alternance de fond, page Livrables */
    --bg-accent:      #D6E6F8;   /* bandeau teaser (accueil) */
    --border-accent:  #B5D4F0;
    --bg-soft:        #EBF5FF;   /* encadres, en-tetes de tableau */
    --border-soft:    #BFDBFE;
    --rule-soft:      #E6EEF7;   /* filets internes de tableau */
    --row-hover:      #F7FBFF;

    /* Oranges — deux roles distincts, voir note ci-dessous */
    --orange:      #ffbb02;   /* sur fond sombre : hero, barre bleue, appel a l'action */
    --orange-dark: #E4881C;   /* sur fond clair : survol du teaser, icone maison */

    /* Textes complementaires */
    --text-body:   #23303F;   /* corps de la page Livrables */
    --text-hint:   #6B7A8C;   /* mentions discretes */
}

/* ── SECTIONS COMMUNES ───────────────────────────── */

.section {
    padding: 5rem 2rem;
}

.section-a { background-color: var(--bg-white); }
.section-b { background-color: var(--bg-warm); }

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-divider {
    width: 48px;
    height: 3px;
    background: var(--gold-light);
    margin-top: 0.75rem;
    margin-bottom: 3rem;
}

/* ── PRESTATIONS ─────────────────────────────────── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 2rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--gold-light);
    transition: height 0.35s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
    border-color: var(--gold-light);
}

.service-card:hover::before { height: 100%; }

.service-icon { font-size: 2rem; margin-bottom: 0.9rem; display: block; }

.service-card h3 {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
}

.service-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── LIEN LIVRABLES (home) ───────────────────────── */

.livrables-teaser {
    padding: 2.25rem 2rem;
    background: var(--bg-accent);
    text-align: center;
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

.livrables-teaser .section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.livrables-teaser-title {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.livrables-teaser-title a {
    color: var(--gold);
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s;
}

.livrables-teaser-title a:hover,
.livrables-teaser-title a:focus-visible {
    color: var(--orange-dark);
}

.livrables-teaser-title a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
    border-radius: 2px;
}

/* Flèche indiquant un lien vers une autre page.
   Elle glisse au survol : seul repère d'interactivité, le soulignement
   ayant été retiré. */
.livrables-teaser-title a::after {
    content: "\2192";
    display: inline-block;
    margin-left: 0.45em;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.livrables-teaser-title a:hover::after,
.livrables-teaser-title a:focus-visible::after {
    transform: translateX(5px);
}

@media (max-width: 640px) {
    .livrables-teaser { padding: 2rem 1.1rem; }
}

/* ── PAGE LIVRABLES ──────────────────────────────── */
/* Styles de livrables.php. Anciennement inline dans la page et doublonnes
   par un jeu de classes .page-top / .article jamais appelees : les deux
   systemes ont ete fusionnes ici. */

/* Barre haute */
.lv-topbar {
    background: var(--blue-deep);
    padding: 1rem 0;
}

.lv-topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lv-brand {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    color: var(--orange);
    text-decoration: none;
}

/* Bouton retour a l'accueil (icone maison) */
.lv-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: var(--orange-dark);
    background: rgba(228, 136, 28, 0.12);
    border: 1px solid rgba(228, 136, 28, 0.45);
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.lv-back svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lv-back:hover,
.lv-back:focus-visible {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--blue-deep);
    transform: translateY(-1px);
}

/* Libelle reserve aux lecteurs d'ecran */
.lv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* En-tete de page */
.lv-hero {
    background: var(--gold);
    color: var(--bg-white);
    padding: 3.5rem 1.5rem 3rem;
    text-align: center;
}

.lv-hero-inner { max-width: 860px; margin: 0 auto; }

.lv-eyebrow {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 1rem;
}

.lv-hero h1 {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    line-height: 1.25;
    margin: 0 0 1.4rem;
    color: var(--bg-white);
}

.lv-lede {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 300;
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0;
    color: rgba(255,255,255,0.92);
}

/* Corps de texte */
.lv-section { padding: 3.2rem 1.5rem; }
.lv-section-alt { background: var(--bg-tint); }
.lv-inner { max-width: 1100px; margin: 0 auto; }

.lv-body { font-family: 'Lato', Arial, sans-serif; color: var(--text-body); }
.lv-body p { font-size: 1rem; line-height: 1.75; margin: 0 0 1.1rem; }
.lv-body ul { margin: 0 0 1.4rem; padding-left: 1.2rem; }
.lv-body li { font-size: 1rem; line-height: 1.7; margin-bottom: 0.55rem; }
.lv-body strong { font-weight: 700; color: var(--blue-deep); }

.lv-step {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.lv-h2 {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem);
    color: var(--blue-deep);
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.lv-rule {
    width: 54px;
    height: 3px;
    background: var(--orange);
    margin: 0 0 1.8rem;
}

.lv-h3 {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--gold);
    margin: 2rem 0 0.8rem;
}

/* Tableaux */
.lv-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 1.6rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: var(--card-bg);
}

.lv-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 0.95rem;
    min-width: 560px;
}

.lv-table thead th {
    background: var(--bg-soft);
    color: var(--blue-deep);
    font-weight: 700;
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    white-space: nowrap;
}

.lv-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--rule-soft);
    vertical-align: top;
    line-height: 1.55;
}

.lv-table tbody tr:last-child td { border-bottom: none; }
.lv-table tbody tr:hover { background: var(--row-hover); }
.lv-table td:first-child { font-weight: 700; color: var(--blue-deep); }

.lv-scroll-hint {
    font-size: 0.85rem;
    color: var(--text-hint);
    margin: -1.1rem 0 1.6rem;
    font-style: italic;
}

/* Encadre */
.lv-callout {
    background: var(--bg-soft);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 1.4rem 1.6rem;
    margin: 0 0 1.6rem;
}

.lv-callout p:last-child { margin-bottom: 0; }

/* Appel a l'action final */
.lv-cta {
    background: var(--blue-deep);
    color: var(--bg-white);
    text-align: center;
    padding: 3rem 1.5rem;
}

.lv-cta h2 {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    margin: 0 0 0.9rem;
    color: var(--bg-white);
}

.lv-cta p {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 1.6rem;
    color: rgba(255,255,255,0.92);
}

.lv-cta-btn {
    display: inline-block;
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    background: var(--orange);
    color: var(--blue-deep);
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lv-cta-btn:hover,
.lv-cta-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

@media (max-width: 640px) {
    .lv-section { padding: 2.4rem 1.1rem; }
    .lv-hero { padding: 2.6rem 1.1rem 2.2rem; }
}

/* ── TARIFS ──────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 6px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--card-border);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

.pricing-card.featured {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 4px 16px rgba(18,85,168,0.2);
}

.price-label {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: block;
}
.pricing-card.featured .price-label { color: rgba(0,0,0,0.5); }

.price-amount {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    display: block;
}
.pricing-card.featured .price-amount { color: #1a1a1a; }

.price-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: block;
}
.pricing-card.featured .price-unit { color: rgba(0,0,0,0.55); }

.price-desc {
    font-size: 0.77rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.55;
}
.pricing-card.featured .price-desc { color: rgba(0,0,0,0.6); }

.pricing-extra {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #EBF5FF;
    border-left: 3px solid var(--gold-light);
    border-radius: 0 6px 6px 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-extra-item { flex: 1; min-width: 180px; }

.extra-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.2rem;
}

.extra-value { font-size: 0.93rem; color: var(--text-mid); }

.pricing-note {
    font-size: 0.71rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: center;
    border-top: 1px solid var(--card-border);
    padding-top: 1.25rem;
}

/* ── CONTACT ─────────────────────────────────────── */

.contact-box {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.contact-icon-wrap {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(18,85,168,0.25);
}

.contact-text h3 {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.contact-text p { font-size: 1rem; color: var(--text-mid); line-height: 1.7; }

.contact-email {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}
.contact-email:hover { border-bottom-color: var(--gold); }

.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #EBF5FF;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-top: 0.75rem;
    border: 1px solid rgba(18,85,168,0.25);
}

/* ── GALERIE ─────────────────────────────────────── */

.gallery-item { margin-bottom: 3rem; text-align: center; }
.gallery-item img { display: block; margin: 0 auto; max-width: 100%; border-radius: 4px; }
.gallery-item img.wide { width: 90%; }
.gallery-caption { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; font-style: italic; letter-spacing: 0.04em; }

/* ── VIDEO ───────────────────────────────────────── */

.video-wrap { max-width: 1100px; margin: 0 auto; }
wistia-player[media-id='2hzi8fxqnc'] { width: 100%; display: block; margin: 0 auto; }

/* ── FOOTER ──────────────────────────────────────── */

.footer {
    background: var(--bg-warm);
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
}
.footer img { margin-bottom: 1rem; }
.footer-legal { font-size: 0.68rem; color: var(--text-muted); line-height: 2; }

/* ── ACCESSIBILITE ───────────────────────────────── */
/* Anneau de focus global. Le bleu convient sur fond clair ; les sections
   sombres de la page Livrables le basculent en orange. */

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

.lv-brand:focus-visible,
.lv-hero a:focus-visible,
.lv-cta a:focus-visible { outline-color: var(--orange); }

.lv-back:focus-visible { outline-color: var(--orange-dark); }

/* ── ANIMATIONS ──────────────────────────────────── */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 768px) {
    .hero-title    { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    .livrables-teaser-title { font-size: 1.15rem; }
    .article h1 { font-size: 1.7rem; }
    .pricing-grid  { grid-template-columns: 1fr 1fr; }
    .contact-box   { flex-direction: column; gap: 1.5rem; }
    .contact-email { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ── MOUVEMENT REDUIT ────────────────────────────── */
/* Respecte le reglage systeme des personnes sensibles aux animations. */

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