:root {
    --navy: #1a2d47;
    --navy-dark: #14233a;
    --blue: #2e6899;
    --blue-light: #4a86b8;
    --accent: #f7e922;
    --gold: #f0c040;
    --orange: #f76a0c;
    --white: #ffffff;
    --bg-alt: #f5f7fa;
    --border: #e2e6ec;
    --text: #1a2d47;
    --text-muted: #5b6778;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(20, 35, 58, 0.12);
    --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

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

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.brand__by {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

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

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    white-space: nowrap;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.95rem;
}

.phone-link svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 760px) {
    .main-nav { display: none; }
}

@media (max-width: 640px) {
    .site-header__inner {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 12px 16px;
    }

    .brand { flex: 1 1 100%; font-size: 1.05rem; }

    .header-cta {
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .phone-link { white-space: nowrap; font-size: 0.9rem; }

    .header-cta .btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, filter 0.15s ease, background-color 0.15s ease;
}

.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--gold);
    color: var(--navy);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

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

.btn--block { width: 100%; }

/* Hero */
.hero {
    background: radial-gradient(ellipse at top, #4a86b8 0%, #1a2d47 65%, #14233a 100%);
    color: var(--white);
    padding: 64px 0 56px;
    text-align: center;
}

.hero__badge {
    display: inline-block;
    background: rgba(247, 233, 34, 0.16);
    border: 1px solid rgba(247, 233, 34, 0.5);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.9rem);
    line-height: 1.2;
    margin: 0 0 16px;
    font-weight: 800;
}

.hero h1 mark {
    background: none;
    color: var(--orange);
}

.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #e7edf5;
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    color: #cfdcea;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero__trust li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__trust svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.hero__trust ul { display: contents; }

/* Section base */
section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }

.section__eyebrow {
    display: block;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

.section__title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    text-align: center;
    margin: 0 0 18px;
    color: var(--navy);
}

.section__lead {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Concept */
.concept__text {
    max-width: 720px;
    margin: 0 auto;
}

.concept__text p { margin: 0 0 16px; color: var(--text-muted); font-size: 1.02rem; }

.concept__callout {
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--navy);
}

.concept__callout strong { color: var(--orange); }

/* Pricing */
.price-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--navy);
    color: var(--white);
    border-radius: 18px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% -10%, rgba(74, 134, 184, 0.55), transparent 55%);
}

.price-card > * { position: relative; }

.price-card__label { font-size: 0.9rem; color: #b9c8db; font-weight: 600; }

.price-card__amount {
    font-size: clamp(2.4rem, 6vw, 3.2rem);
    font-weight: 800;
    margin: 6px 0 0;
}

.price-card__amount span { font-size: 1.1rem; font-weight: 600; color: #b9c8db; }

.price-card__then {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin: 8px 0 4px;
}

.price-card__engagement { font-size: 0.85rem; color: #9fb0c6; margin-bottom: 26px; }

.price-card__list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 12px;
}

.price-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.price-card__list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Advantages */
.advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.advantage-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex;
    gap: 16px;
}

.advantage-card--full { grid-column: 1 / -1; background: linear-gradient(135deg, #fff8e1, #ffffff); border-color: var(--gold); }

.advantage-card__icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card__icon svg { width: 24px; height: 24px; }

.advantage-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--navy); }
.advantage-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 760px) {
    .gallery { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

.gallery figure {
    margin: 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.gallery img { width: 100%; height: auto; }

.gallery figcaption {
    padding: 14px 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
}

.gallery__more { text-align: center; margin-top: 34px; }

.link-arrow {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.link-arrow:hover { text-decoration: underline; }

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-row { display: grid; gap: 16px; margin-bottom: 16px; }

@media (min-width: 500px) {
    .form-row--split { grid-template-columns: 1fr 1fr; }
}

label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }

input[type="text"], input[type="tel"], input[type="email"], textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.96rem;
    color: var(--text);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.3);
}

textarea { min-height: 120px; resize: vertical; }

.char-counter { text-align: right; font-size: 0.78rem; color: var(--text-muted); margin: 4px 0 14px; }
.char-counter.is-near { color: var(--orange); }

.consent-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.consent-row input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold); }

.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 14px; font-size: 0.92rem; text-align: center; min-height: 1.2em; }
.form-status.is-success { color: #1e7e34; font-weight: 600; }
.form-status.is-error { color: #c0392b; font-weight: 600; }

.contact-direct h3 { color: var(--navy); margin-top: 0; }
.contact-direct p { color: var(--text-muted); }

.direct-actions { display: grid; gap: 14px; margin: 22px 0 30px; }

.direct-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
}

.direct-action svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; }
.direct-action span small { display: block; font-weight: 500; color: var(--text-muted); font-size: 0.8rem; }

.alphavidia-callout {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 22px 24px;
}

.alphavidia-callout a { color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    color: var(--navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text-muted);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #1a2d47, #2e6899);
    color: var(--white);
    text-align: center;
}

.final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 14px; }
.final-cta p { color: #dce6f0; max-width: 560px; margin: 0 auto 30px; }
.final-cta .hero__actions { margin-bottom: 0; }

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: #b9c8db;
    padding: 48px 0 24px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

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

.footer-grid h4 { color: var(--white); margin: 0 0 12px; font-size: 0.95rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: #b9c8db; }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #8296ac;
}

.footer-bottom a { color: #8296ac; }
.footer-bottom a:hover { color: var(--white); }

/* Bouton flottant WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    z-index: 200;
    transition: transform 0.15s ease;
}

.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.07); }

@media (max-width: 500px) {
    .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 27px; height: 27px; }
}

/* Pages legales */
.legal { padding: 56px 0 80px; }

.legal__content { max-width: 760px; margin: 0 auto; }

.legal__content h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--navy);
    margin: 0 0 8px;
}

.legal__updated { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 32px; }

.legal__content h2 {
    font-size: 1.15rem;
    color: var(--navy);
    margin: 32px 0 12px;
}

.legal__content p { color: var(--text-muted); margin: 0 0 16px; }

.legal__content ul { color: var(--text-muted); margin: 0 0 16px; padding-left: 22px; }
.legal__content li { margin-bottom: 6px; }

.legal__content a { color: var(--blue); text-decoration: underline; }
