*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #1e293b;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --light: #f8fafc;
    --mid: #64748b;
    --radius: 10px;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --font-display: 'Sora', 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--navy);
    background: #fff;
    line-height: 1.6;
}

h1, h2, h3, .logo, .section-title, .stat-number {
    font-family: var(--font-display);
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 16px rgba(30,41,59,.05);
}

header nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 68px;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: linear-gradient(120deg, var(--navy), #475569);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover { color: var(--accent-dark); }

.lang-switcher {
    display: flex;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-switcher a { color: var(--mid); }
.lang-switcher a.active { color: var(--accent-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all .25s;
    border: 2px solid transparent;
}

.btn-accent {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(245,158,11,.28);
}
.btn-accent:hover {
    background: linear-gradient(120deg, #fbbf24 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(245,158,11,.38);
}
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }

/* HERO — identité "growth agency" : bandeau diagonal ambre + texture de
   hachures, distincte des halos circulaires utilisés sur les autres
   maquettes (Prestige Immo notamment). */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0f172a 100%);
    color: #fff;
    padding: 110px 0 150px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 28px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    background: linear-gradient(160deg, rgba(245,158,11,.16) 0%, rgba(245,158,11,0) 65%);
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-tag {
    display: inline-block;
    background: rgba(245,158,11,.14);
    border: 1px solid rgba(245,158,11,.35);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.hero p { font-size: 1.1rem; opacity: .85; max-width: 560px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }

.hero-pillars {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-pillar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    padding: 6px 14px;
    border-radius: 999px;
}

.hero-pillar svg { width: 14px; height: 14px; color: var(--accent); }

/* STATS — cartes flottantes qui chevauchent le bas du hero, à la place
   d'une bande de couleur pleine (motif utilisé ailleurs) : effet "tableau
   de bord" cohérent avec l'univers data/growth de l'agence. */
.stats {
    position: relative;
    z-index: 2;
    margin-top: -90px;
    padding: 0 0 60px;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 26px 16px;
    text-align: center;
    box-shadow: 0 20px 44px rgba(15,23,42,.18);
    border: 1px solid #eef2f7;
    transition: transform .3s ease, box-shadow .3s ease;
}
.stat-item:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(15,23,42,.22); }
.stat-number {
    display: block;
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label { font-size: 0.86rem; font-weight: 600; color: var(--mid); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 48px; }
.bg-light { background: var(--light); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
    position: relative;
    background: var(--light);
    border-radius: var(--radius);
    padding: 32px;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(217,119,6,.12);
    color: var(--accent-dark);
    transition: transform .3s ease;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.link-arrow { color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; display: inline-block; margin-top: 12px; transition: gap .2s; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px 28px;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0,0,0,.12); }
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 6px;
    left: 20px;
    font-size: 3.2rem;
    font-family: Georgia, serif;
    color: var(--accent);
    opacity: .35;
    line-height: 1;
}
.testimonial-text { font-style: italic; color: var(--mid); margin-bottom: 16px; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar-circle {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-author strong { display: block; font-weight: 700; }
.testimonial-author span { font-size: 0.85rem; color: var(--mid); }

/* CTA BAND */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--navy) 0%, #0f172a 100%);
    color: #fff;
    padding: 72px 0;
    text-align: center;
}
.cta-band::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.18) 0%, rgba(245,158,11,0) 70%);
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 28px; }

/* PAGE HERO — même identité visuelle que le hero d'accueil (diagonale
   ambrée + hachures) pour une cohérence de marque sur toutes les pages. */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0f172a 100%);
    color: #fff;
    padding: 74px 0 64px;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 28px);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    background: linear-gradient(160deg, rgba(245,158,11,.14) 0%, rgba(245,158,11,0) 65%);
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255,255,255,.55);
    margin-bottom: 14px;
}

.page-hero-eyebrow a { color: rgba(255,255,255,.55); transition: color .2s; }
.page-hero-eyebrow a:hover { color: var(--accent); }

.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto; }

/* TABS */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; background: var(--light); padding: 6px; border-radius: 999px; width: fit-content; }
.tab-btn {
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--mid);
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
}
.tab-btn.active {
    background: linear-gradient(120deg, var(--navy), #334155);
    color: #fff;
    box-shadow: 0 6px 16px rgba(30,41,59,.25);
}
.tab-btn:hover:not(.active) { color: var(--navy); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content h2 { font-size: 1.5rem; margin-bottom: 16px; }
.tab-content p { color: var(--mid); margin-bottom: 20px; }

/* FEATURE LIST */
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--mid); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }

/* PORTFOLIO */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: 2px solid #e2e8f0;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all .25s;
}
.filter-btn.active {
    background: linear-gradient(120deg, var(--navy), #334155);
    color: #fff;
    border-color: var(--navy);
    box-shadow: 0 6px 16px rgba(30,41,59,.25);
}
.filter-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent-dark); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(30,41,59,.16); }
.portfolio-img { height: 180px; position: relative; overflow: hidden; transition: transform .5s ease; }
.portfolio-item:hover .portfolio-img { transform: scale(1.06); }
.portfolio-info { padding: 16px; }
.portfolio-info h3 { font-size: 1rem; margin-bottom: 8px; }
.badge { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: var(--navy); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* CONTENT NOTICE (articles fictifs) */
.content-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 8px;
}
.content-notice svg { flex-shrink: 0; margin-top: 2px; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,0,0,.12); }
.blog-img { height: 180px; }
.blog-body { padding: 20px; }
.blog-cat { font-size: 0.75rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; }
.blog-body h2 { font-size: 1rem; margin: 8px 0; font-weight: 700; color: var(--navy); }
.blog-body p { font-size: 0.9rem; color: var(--mid); margin-bottom: 14px; }
.blog-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.blog-date { font-size: 0.8rem; color: var(--mid); }
.fictif-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 3px 9px;
    border-radius: 999px;
}

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { font-size: 1.4rem; margin: 0 0 12px; }
.about-text p { color: var(--mid); margin-bottom: 20px; }
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    background: linear-gradient(160deg, var(--light) 0%, #eef2f7 100%);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
}
.about-stats .stat-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.about-stats .stat-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.about-stats .stat-number {
    background: linear-gradient(120deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-info p { display: flex; align-items: center; gap: 10px; color: var(--mid); margin-bottom: 10px; }
.contact-info svg { width: 17px; height: 17px; color: var(--accent-dark); flex-shrink: 0; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form input.invalid,
.contact-form textarea.invalid { border-color: #ef4444; }
.error-msg { display: none; color: #ef4444; font-size: 0.8rem; margin-top: 4px; }
.form-group.has-error .error-msg { display: block; }

/* FOOTER */
footer { background: var(--navy); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 16px; color: var(--accent); }
.footer-col p { font-size: 0.9rem; opacity: .75; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.9rem; opacity: .75; transition: opacity .2s; }
.footer-col ul li a:hover { opacity: 1; }
.newsletter { margin-top: 20px; }
.newsletter h4 { font-size: 0.9rem; margin-bottom: 10px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; padding: 8px 12px; border-radius: 6px; border: none; font-family: inherit; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 0.85rem; opacity: .6; text-align: center; }
