:root {
    /* Couleurs */
    --navy-deep: #0B1423;
    --navy-mid: #152240;
    --steel: #2D5484;
    --accent: #4A8BC4;
    --silver: #A8BED4;
    --off-white: #EBF0F5;

    /* Typographie */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-main: 'DM Sans', Arial, sans-serif;
    --font-mono: 'Courier New', monospace;

    /* Rayons */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--navy-deep);
    color: var(--silver);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--off-white);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 56px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; color: var(--silver); font-weight: 400; }
h4 { font-size: 20px; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--off-white);
}

a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Sections */
.section-padding {
    padding: 120px 0;
}

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

/* Boutons */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--off-white);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.85;
    color: var(--off-white);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--off-white);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    padding: 11px 27px;
    border: 1px solid var(--steel);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    display: inline-block;
    color: var(--silver);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    color: var(--off-white);
}

/* Header */
.header {
    background: var(--navy-deep);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(45, 84, 132, 0.3);
}

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

.logo img {
    height: 96px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.main-nav ul li a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--off-white);
}

.main-nav ul li a.active {
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--silver);
    cursor: pointer;
    padding: 0;
}

/* Hero — index */
.hero {
    background: var(--navy-deep);
    text-align: center;
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 48px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--off-white);
}

.hero p {
    font-size: 18px;
    color: var(--silver);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cercles concentriques animés */
.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0;
    animation: ripple 7s ease-out infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.ring-2 {
    width: 500px;
    height: 500px;
    animation-delay: 2s;
}

.ring-3 {
    width: 700px;
    height: 700px;
    animation-delay: 4s;
}

@keyframes ripple {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    15% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

/* Hero — pages intérieures */
.page-hero {
    background: var(--navy-deep);
    text-align: center;
    padding: 100px 0 60px;
    border-bottom: 1px solid rgba(45, 84, 132, 0.3);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 300;
    color: var(--off-white);
    margin-bottom: 0.75rem;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto;
}

/* Section title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
}

/* Cards / Solutions grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.solution-card {
    background: var(--navy-mid);
    border: 1px solid var(--steel);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.solution-card .icon {
    color: var(--silver);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.solution-card:hover .icon {
    color: var(--accent);
}

a.solution-card-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

a.solution-card-link:hover {
    color: inherit;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 0.5rem;
}

.solution-card p {
    font-size: 15px;
    color: var(--silver);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: var(--navy-mid);
    text-align: center;
    padding: 120px 0;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 1rem;
    color: var(--off-white);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--silver);
}

/* Detail sections */
.detail-section {
    max-width: 720px;
    margin: 0 auto;
}

.detail-section h2 {
    font-size: 28px;
    margin-bottom: 1.5rem;
    color: var(--off-white);
}

.detail-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--silver);
}

/* About */
.about-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

/* Contact form */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy-mid);
    border: 1px solid var(--steel);
    border-radius: var(--radius-sm);
    color: var(--off-white);
    font-family: var(--font-main);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--steel);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form select option {
    background: var(--navy-mid);
    color: var(--off-white);
}

/* Roadmap */
.roadmap {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.roadmap-step {
    background: var(--navy-mid);
    border-left: 3px solid var(--accent);
    border-radius: 0;
    padding: 24px 32px;
}

.roadmap-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.roadmap-step p {
    color: var(--silver);
    margin-bottom: 0;
}

/* Services note */
.services-note {
    text-align: center;
    font-size: 13px;
    color: var(--steel);
    margin-top: 3rem;
    font-style: italic;
}

.form-success {
    text-align: center;
    padding: 40px 24px;
}

.form-success p {
    font-size: 16px;
    color: var(--accent);
}

.form-error {
    font-size: 13px;
    color: #E8A040;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Contact info */
.contact-info {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 84, 132, 0.3);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info p {
    font-size: 14px;
    color: var(--silver);
    margin-bottom: 0.5rem;
}

/* Legal content */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.legal-content ul li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.legal-update {
    margin-top: 3rem;
    font-size: 13px;
    color: var(--steel);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--navy-deep);
    padding: 80px 0 32px;
    font-size: 14px;
    border-top: 1px solid rgba(45, 84, 132, 0.3);
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--silver);
    font-size: 14px;
    line-height: 1.4;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--silver);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--off-white);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--silver);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 84, 132, 0.3);
    color: var(--steel);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy-deep);
        border-bottom: 1px solid rgba(45, 84, 132, 0.3);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 16px 0;
        gap: 0;
    }

    .main-nav ul li a {
        display: block;
        padding: 12px 48px;
        border-bottom: 1px solid rgba(45, 84, 132, 0.15);
    }

    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 { font-size: 42px; }
    .page-hero h1 { font-size: 36px; }
    .section-title h2 { font-size: 30px; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .hero-content { padding: 0 24px; }

    .page-hero { padding: 80px 0 48px; }
    .page-hero h1 { font-size: 30px; }
    .page-hero-subtitle { font-size: 16px; }

    .roadmap-step { padding: 20px 24px; }

    h1 { font-size: 36px; }
    h2 { font-size: 28px; }

    .cta-section {
        padding: 80px 0;
    }

    .cta-section h2 { font-size: 28px; }
    .cta-section p { font-size: 16px; }

    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .section-title h2 { font-size: 24px; }
}
