/* =========================
   VARIABLES & RESET
========================= */
:root {
    --bg-color: #FCF9F2;
    --card-bg: #FFFFFF;
    --accent-color: #C27A68;
    --accent-dark: #A8624F;
    --text-dark: #2A2523;
    --text-light: #5A524F;
    --border-soft: rgba(194, 122, 104, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-dark);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

h2 em, .trust h2 em {
    color: var(--accent-color);
    font-style: normal;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   NAVBAR & LOGO
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    z-index: 1000;
    transition: .3s ease;
}

.navbar.scrolled {
    background: rgba(252, 249, 242, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: .5px;
}

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.logo-text span {
    color: var(--accent-color);
    font-weight: 500;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: var(--accent-color);
}

.nav-call {
    border: 1px solid var(--accent-color);
    padding: 14px 22px;
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

.nav-call:hover {
    background: var(--accent-color);
    color: #FFF;
}

/* =========================
   HERO
========================= */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background-image: url("https://images.unsplash.com/photo-1505664194779-8beaceb93744");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(252,249,242,.95), rgba(252,249,242,.65));
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
}

.small-title {
    color: var(--accent-color);
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 80px);
    line-height: 1.05;
    margin-bottom: 30px;
}

.hero-text {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 45px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 500;
    transition: .3s;
    display: inline-block;
}

.accent {
    background: var(--accent-color);
    color: #FFF;
}

.accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(194, 122, 104, 0.2);
}

.outline {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}

.outline:hover {
    background: var(--text-dark);
    color: var(--bg-color);
}

/* Bouton d'appel principal : statique sur desktop */
.btn-call-pulse {
    animation: none;
}

.call-text-mobile {
    display: none;
}

@keyframes btn-call-blink {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(194, 122, 104, 0.6);
        background: var(--accent-color);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(194, 122, 104, 0);
        background: var(--accent-dark);
    }
}

/* =========================
 SCROLL INDICATOR
========================= */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dark);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-indicator span {
    width: 1px;
    height: 60px;
    background: var(--accent-color);
}

/* =========================
 EMERGENCY SECTION
========================= */
.emergency {
    background: var(--accent-color);
    color: #FFF;
    padding: 50px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.emergency .tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 10px;
}

.emergency h2 {
    font-size: 40px;
}

.emergency p {
    margin-top: 10px;
    opacity: 0.9;
}

.emergency a {
    background: #FFF;
    color: var(--accent-color);
    padding: 20px 35px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    transition: .3s;
}

.emergency a:hover {
    background: var(--text-dark);
    color: #FFF;
}

/* =========================
 TRUST SECTION
========================= */
.trust {
    padding: 120px 8%;
    background: var(--bg-color);
}

.section-label {
    color: var(--accent-color);
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 25px;
    font-weight: 600;
}

.trust-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 70px;
    align-items: center;
}

.trust-portrait {
    position: relative;
}

.trust-portrait::before {
    content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-color);
    z-index: 0;
}

.trust-portrait img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.trust-text {
    max-width: 850px;
}

.trust h2 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 35px;
}

.trust-text p:last-child {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}

.trust-cards {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.trust-card {
    padding: 45px;
    background: #FFF;
    border-radius: 25px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: .3s;
}

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

.trust-card span {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
}

.trust-card h3 {
    font-size: 32px;
    margin: 25px 0 15px;
}

.trust-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.trust-card.highlight {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.trust-card.highlight span,
.trust-card.highlight h3 {
    color: #FFF;
}

.trust-card.highlight p {
    color: rgba(255,255,255,0.85);
}

/* =========================
 GENERIC SECTION HEADERS
========================= */
.expertise, .process, .testimonials, .faq {
    padding: 100px 8%;
}

.expertise h2, .process h2, .testimonials h2, .faq h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.expertise-intro, .contact-intro {
    color: var(--text-light);
    font-size: 17px;
    max-width: 650px;
    margin-top: 10px;
    margin-bottom: 60px;
}

/* =========================
 EXPERTISE
========================= */
.expertise {
    background: var(--bg-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.expertise-card {
    background: #FFF;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 40px 32px;
    transition: .3s;
}

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

.expertise-card span {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

.expertise-card h3 {
    font-size: 24px;
    margin: 18px 0 12px;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* =========================
 PROCESS
========================= */
.process {
    background: #FFF;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 40px;
}

.process-step {
    border-top: 2px solid var(--text-dark);
    padding: 40px 28px 0;
    transition: .3s;
}

.process-step:hover {
    border-top-color: var(--accent-color);
}

.process-num {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    color: var(--border-soft);
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================
 TESTIMONIALS
========================= */
.testimonials {
    background: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: #FFF;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 40px 32px;
    transition: .3s;
}

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

.stars {
    color: var(--accent-color);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-family: "Playfair Display", serif;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 17px;
}

.testimonial-card .author {
    font-weight: 600;
    font-size: 14px;
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
}

.testimonial-card .author span {
    display: block;
    font-weight: 400;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
 FAQ
========================= */
.faq {
    background: #FFF;
}

.faq-list {
    max-width: 850px;
    margin-top: 40px;
}

.faq-item {
    border-top: 1px solid var(--border-soft);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border-soft);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 0;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
}

.faq-question span {
    color: var(--accent-color);
    font-size: 22px;
    transition: transform .3s;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.75;
    padding-bottom: 26px;
    max-width: 700px;
}

/* =========================
 CONTACT (WHATSAPP + EMAIL)
========================= */
.contact {
    background: var(--text-dark);
    color: #FFF;
}

.contact .section-label.light {
    color: var(--accent-color);
}

.contact h2 {
    color: #FFF;
}

.contact-intro {
    color: rgba(255,255,255,0.65);
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    transition: .3s;
}

.contact-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    background: rgba(255,255,255,0.07);
}

.contact-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 18px;
}

.contact-card h3 {
    font-size: 19px;
    color: #FFF;
    margin-bottom: 10px;
}

.contact-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.contact-card.call {
    border-color: rgba(194,122,104,0.5);
}

.contact-hours {
    text-align: center;
    margin-top: 50px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    letter-spacing: 1px;
}

/* =========================
 FOOTER
========================= */
.footer {
    background: var(--bg-color);
    text-align: center;
    padding: 60px 8% 120px;
    border-top: 1px solid var(--border-soft);
}

.footer-logo {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent-color);
    font-weight: 500;
}

.footer p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 18px 0;
    font-size: 14px;
}

.footer-links a {
    color: var(--accent-color);
    font-weight: 500;
}

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

.footer-bottom {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
}

/* =========================
 SCROLL REVEAL (simple, subtle)
========================= */
.trust-card, .trust-text, .emergency,
.expertise-card, .process-step, .testimonial-card, .faq-item, .contact-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.trust-card.show, .trust-text.show, .emergency.show,
.expertise-card.show, .process-step.show, .testimonial-card.show,
.faq-item.show, .contact-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
 MOBILE FIXED BAR
========================= */
.mobile-call {
    display: none;
}

/* Call button: the one element allowed a stronger, attention-getting animation */
.mobile-call-btn {
    position: relative;
    flex: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: var(--accent-color);
    color: #FFF;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    animation: call-pulse 1.6s ease-in-out infinite;
}

.mobile-call-icon {
    font-size: 18px;
    animation: call-shake 1.6s ease-in-out infinite;
}

.mobile-call-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    background: #FFF;
    color: var(--accent-dark);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 2px 7px;
    border-radius: 20px;
}

@keyframes call-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(194,122,104,0.55); }
    50% { box-shadow: 0 0 0 12px rgba(194,122,104,0); }
}

@keyframes call-shake {
    0%, 80%, 100% { transform: rotate(0deg); }
    83% { transform: rotate(-15deg); }
    86% { transform: rotate(13deg); }
    89% { transform: rotate(-10deg); }
    92% { transform: rotate(6deg); }
    95% { transform: rotate(0deg); }
}

/* =========================
 MOBILE RESPONSIVE
========================= */
@media(max-width:900px){
    .navbar {
        height: 75px;
        padding: 0 20px;
    }
    .logo-text {
        display: none;
    }
    .logo img {
        height: 46px;
    }
    nav {
        display: none;
    }
    .nav-call {
        padding: 10px 15px;
        font-size: 12px;
    }
    .hero {
        padding: 0 25px;
        background-position: center;
    }
    .hero h1 {
        font-size: 45px;
    }
    .hero-text {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        text-align: center;
    }
    .btn-call-pulse {
        animation: btn-call-blink 1.4s ease-in-out infinite;
    }
    .call-text-desktop {
        display: none;
    }
    .call-text-mobile {
        display: inline;
    }
    .emergency {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 25px;
    }
    .emergency h2 {
        font-size: 32px;
    }
    .emergency a {
        width: 100%;
        text-align: center;
    }
    .trust {
        padding: 80px 25px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .trust-portrait {
        max-width: 260px;
        margin: 0 auto;
    }
    .trust h2 {
        font-size: 42px;
    }
    .trust-cards {
        grid-template-columns: 1fr;
    }
    .trust-card {
        padding: 35px;
    }
    .expertise, .process, .testimonials, .faq, .contact {
        padding: 70px 25px;
    }
    .expertise-grid, .process-grid, .testimonials-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .process-step {
        border-left: 2px solid var(--text-dark);
        border-top: none;
        padding: 0 0 0 22px;
        padding-bottom: 10px;
    }
    .footer {
        padding: 50px 25px 120px;
    }
    .mobile-call {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 76px;
        background: var(--bg-color);
        border-top: 1px solid rgba(0,0,0,0.1);
        z-index: 2000;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    }
    .mobile-call a {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--text-dark);
        font-size: 15px;
        font-weight: 500;
    }
    .mobile-contact-btn {
        color: var(--text-light);
        font-size: 14px;
    }
}
