:root {
    --bg-gradient-start: #e3f2fd;
    --bg-gradient-end:   #0b2447;
    --card-bg:           rgba(255, 255, 255, 0.97);
    --primary:           #1565c0;
    --primary-dark:      #0d47a1;
    --accent:            #4fc3f7;
    --text-main:         #102a43;
    --text-soft:         #4a6572;
    --border-soft:       rgba(255, 255, 255, 0.4);
    --shadow-soft:       0 14px 30px rgba(0, 0, 0, 0.16);
    --radius-xl:         22px;
    --transition-fast:   0.2s ease-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    background: var(--card-bg);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    padding: 2.3rem 2.1rem 2.1rem;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .card {
        padding: 1.8rem 1.4rem;
        border-radius: 22px;
    }
}

h1, h2, h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

h1 {
    font-size: clamp(1.9rem, 2.6vw, 2.4rem);
    letter-spacing: 0.02em;
}

h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    border-left: 4px solid var(--accent);
    padding-left: 0.7rem;
}

h3 {
    font-size: 1.08rem;
    margin-bottom: 0.35rem;
}

p {
    margin: 0.35rem 0 0.7rem;
    color: var(--text-soft);
}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-compact {
    grid-template-columns: minmax(0, 1fr);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(79,195,247,0.15), rgba(21,101,192,0.15));
    color: #0d47a1;
    font-size: 0.88rem;
}

.hero-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #4caf50;
    box-shadow: 0 0 0 6px rgba(76,175,80,0.25);
}

.hero-title {
    margin: 0.8rem 0 0.4rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.hero-note {
    font-size: 0.95rem;
}

.hero-cta {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

/* BOUTONS */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(13,71,161,0.45);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(13,71,161,0.6);
    filter: brightness(1.05);
}

.btn-secondary-link {
    font-size: 0.94rem;
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* HIGHLIGHT */

.hero-highlight {
    margin-top: 1.1rem;
    padding: 0.6rem 0.9rem;
    border-left: 3px solid rgba(21,101,192,0.4);
    background: linear-gradient(90deg, rgba(227,242,253,0.75), rgba(144,202,249,0.12));
    border-radius: 12px;
    font-size: 0.88rem;
}

/* HERO VISUEL */

.hero-visual {
    border-radius: 26px;
    padding: 1.3rem;
    background: radial-gradient(circle at top right, rgba(79,195,247,0.24), rgba(13,71,161,0.9));
    color: #e3f2fd;
    box-shadow: 0 16px 40px rgba(2,17,37,0.78);
    position: relative;
    overflow: hidden;
}

.hero-visual-title {
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}

.hero-visual-item {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    opacity: 0.96;
}

.hero-visual-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.26rem 0.65rem;
    border-radius: 999px;
    background: rgba(227,242,253,0.18);
    font-size: 0.82rem;
    margin-top: 0.4rem;
}

/* GRILLE PRINCIPALE */

.sections-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 1.8rem;
    margin-top: 1.2rem;
}

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

/* BLOCS GÉNÉRIQUES */

.block {
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-xl);
    padding: 1.35rem 1.3rem;
    border: 1px solid rgba(13,71,161,0.08);
}

.block + .block {
    margin-top: 0.9rem;
}

.tagline {
    font-size: 0.94rem;
    font-style: italic;
    color: var(--text-soft);
}

/* LISTES */

ul {
    padding-left: 1.1rem;
    margin: 0.4rem 0 0.7rem;
}

li {
    margin-bottom: 0.3rem;
    color: var(--text-soft);
}

/* TARIFS */

.pricing-highlight {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-soft);
}

.label-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: rgba(79,195,247,0.14);
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.separator {
    border: none;
    border-top: 1px solid rgba(13,71,161,0.1);
    margin: 0.85rem 0;
}

/* FAQ */

.faq-item {
    margin-bottom: 0.85rem;
}

.faq-question {
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--primary-dark);
}

/* CONTACT */

.contact-box {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 1.2rem;
    align-items: flex-start;
    margin-top: 0.6rem;
}

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

.contact-line {
    font-size: 0.94rem;
    margin-bottom: 0.4rem;
}

.contact-line a {
    color: var(--primary-dark);
    text-decoration: none;
    border-bottom: 1px dotted rgba(13,71,161,0.45);
}

.contact-line a:hover {
    text-decoration: underline;
}

/* FORMULAIRE */

.contact-form {
    display: grid;
    gap: 0.65rem;
}

label {
    font-size: 0.84rem;
    color: var(--text-main);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.5rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(13,71,161,0.25);
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #ffffff;
}

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(21,101,192,0.22);
}

/* ALERTES */

.alert {
    margin: 0.75rem 0;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* DISCLAIMER */

.disclaimer {
    font-size: 0.85rem;
    color: #546e7a;
    background: rgba(227,242,253,0.96);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    margin-top: 0.8rem;
}

/* FOOTER */

footer {
    text-align: center;
    margin: 1.8rem 0 0.75rem;
    font-size: 0.78rem;
    color: rgba(236,239,241,0.9);
}

footer a {
    color: #bbdefb;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* RGPD */

.rgpd-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 17, 37, 0.72);
    z-index: 9999;
    padding: 1rem;
}

.rgpd-visible {
    display: flex;
}

.rgpd-modal {
    max-width: 620px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.4rem 1.3rem 1.1rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.rgpd-modal h2 {
    margin-top: 0;
    font-size: 1.15rem;
    border-left: 4px solid var(--accent);
    padding-left: 0.6rem;
}

.rgpd-modal p {
    font-size: 0.9rem;
}

.rgpd-modal a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.rgpd-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.rgpd-lock {
    overflow: hidden;
}
