/* ===== Jetterix.es — Design System ===== */
/* Palette scrappée de la landing source + adaptation marché espagnol */

:root {
    --primary: #da532c;
    --primary-hover: #c44520;
    --primary-light: #fef0eb;
    --accent: #007B8C;
    --accent-light: #e6f5f7;
    --rating-blue: #195ca3;
    --text: #222;
    --text-light: #555;
    --text-muted: #888;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border: #e5e7eb;
    --star: #f5a623;
    --success: #16a34a;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-sm: 6px;
    --font: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --max-width: 1080px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, var(--primary), #c0392b);
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-flag { font-size: 1.4rem; }

.header-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.header-rating .stars { color: #ffd700; }
.header-rating .rating-num { font-weight: 700; font-size: 1.1rem; }

/* ===== Hero ===== */
.hero {
    padding: 50px 0 40px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 25px;
}

.hero-bullets li {
    padding: 5px 0;
    font-size: 1rem;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.hero-shipping {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--success);
    font-weight: 600;
}

/* ===== CTA Button ===== */
.cta-button {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(218, 83, 44, 0.35);
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(218, 83, 44, 0.45);
}

.cta-button-large {
    font-size: 1.25rem;
    padding: 18px 40px;
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-item {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.section p {
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.75;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ===== Benefits Grid ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Steps ===== */
.steps {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    background: var(--primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--star);
}

.testimonial-stars {
    color: var(--star);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 12px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* ===== Rating Box ===== */
.rating-box {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 30px auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

.rating-overall {
    text-align: center;
    min-width: 160px;
}

.rating-score {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
}

.rating-label {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin: 5px 0;
}

.rating-stars {
    color: var(--star);
    font-size: 1.2rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.rating-bars {
    flex: 1;
    min-width: 280px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bar-label {
    width: 140px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: right;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    background: #e5e7eb;
    border-radius: 10px;
    height: 24px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    background: var(--rating-blue);
    height: 100%;
    border-radius: 10px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-left: 8px;
}

/* ===== Price Section ===== */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
}

.section-cta h2 { color: #fff; }
.section-cta p { color: rgba(255,255,255,0.9); }

.price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-current {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.price-save {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.section-cta .cta-button {
    background: #fff;
    color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.section-cta .cta-button:hover {
    background: #f0f0f0;
}

.cta-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 15px;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
    cursor: pointer;
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* ===== Final CTA ===== */
.section-cta-bottom {
    text-align: center;
    background: var(--bg-alt);
}

.section-cta-bottom h2 {
    font-size: 1.8rem;
}

.section-cta-bottom .cta-button {
    margin-top: 15px;
}

/* ===== CTA Center ===== */
.cta-center {
    text-align: center;
    margin-top: 30px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-divider { opacity: 0.3; }

.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto 15px;
    font-size: 0.8rem;
    opacity: 0.6;
    line-height: 1.5;
}

.footer-copy { opacity: 0.5; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    html { font-size: 16px; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
        margin: 0 auto;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rating-box {
        flex-direction: column;
        align-items: center;
        padding: 25px;
    }

    .bar-label {
        width: 110px;
        font-size: 0.8rem;
    }

    .rating-score { font-size: 2.8rem; }

    .price-current { font-size: 2rem; }

    .trust-items {
        justify-content: center;
    }

    .trust-item { font-size: 0.85rem; }

    .header-inner { flex-direction: column; gap: 5px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.4rem; }
    .hero { padding: 30px 0 25px; }
    .price-box { gap: 10px; }
    .cta-button { font-size: 1rem; padding: 12px 24px; }
}

/* Print */
@media print {
    .header { position: static; }
    .cta-button { background: #000 !important; }
}
