/* Définition locale des polices */

/* lato-300 - latin */
@font-face {
  font-display: swap; /* Important pour Google PageSpeed */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/lato-v25-latin-300.woff2') format('woff2');
}
/* lato-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lato-v25-latin-regular.woff2') format('woff2');
}
/* lato-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/lato-v25-latin-700.woff2') format('woff2');
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}
/* playfair-display-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/playfair-display-v40-latin-700.woff2') format('woff2');
}




/* --- 1. VARIABLES & BASE --- */
:root {
    /* Palette de couleurs */
    /* --col-primary: #91b29d;    */
    --col-primary: #567B65;
    --col-bg-yellow: #ffeeb0;  /* Jaune pâle */
    --col-accent: #ffce6a;     /* Jaune bouton */
    
    /* Neutres & Design */
    --col-text-dark: #333333;
    --col-text-light: #666666;
    --col-white: #FFFFFF;
    --col-bg-light: #f9fbf9;

    /* Typographie */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Effets */
    --shadow-soft: 0 10px 30px rgba(145, 178, 157, 0.15);
    --shadow-hover: 0 15px 40px rgba(145, 178, 157, 0.25);
    --radius-std: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--col-text-dark);
    background-color: var(--col-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3 { 
    font-family: var(--font-heading); 
    color: var(--col-primary); 
    font-weight: 700; 
    line-height: 1.2; 
}
h2 { font-size: 2.2rem; }

a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; display: block; height: auto; }

/* RESET DES LISTES (Pour le menu) */
ul { list-style: none; padding: 0; margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--col-bg-light); }
.text-center { text-align: center; }

/* Separator Décoratif */
.separator-center {
    width: 80px; height: 3px; background-color: var(--col-primary);
    margin: 20px auto 40px; border-radius: 2px; opacity: 0.6;
}

/* --- 2. HEADER --- */
#site-header {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: padding 0.3s;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 70px; width: auto; }

.desktop-nav { display: flex; align-items: center; gap: 40px; }
.desktop-nav ul { display: flex; gap: 30px; } /* Utilise le list-style: none défini plus haut */
.desktop-nav a { font-weight: 600; color: var(--col-text-dark); font-size: 1rem; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--col-primary); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--col-primary); cursor: pointer; }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: white; z-index: 2000; padding: 40px;
    display: flex; flex-direction: column; gap: 20px;
    transition: 0.4s ease-in-out; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.2rem; font-weight: 700; color: var(--col-text-dark); border-bottom: 1px solid #eee; padding-bottom: 10px; }
.close-mobile { align-self: flex-end; font-size: 1.5rem; cursor: pointer; margin-bottom: 20px; color: var(--col-primary); }

/* --- 3. HERO & INTRO --- */
.hero-modern {
    position: relative;
    height: 80vh; min-height: 550px;
    display: flex; align-items: center;
    color: var(--col-white);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(145, 178, 157, 0.9) 0%, rgba(145, 178, 157, 0.6) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; text-align: left; }

.tagline { 
    display: inline-block; background: var(--col-accent); color: var(--col-text-dark);
    padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 20px; font-weight: 700; text-transform: uppercase;
}
.hero-content h1 {
    font-size: 3.5rem; color: var(--col-white); margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; font-weight: 400; opacity: 0.95; }

/* Boutons */
.hero-buttons { display: flex; gap: 20px; }
.btn-primary {
    background-color: var(--col-accent); color: var(--col-text-dark);
    padding: 15px 35px; border-radius: 50px;
    font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); background-color: #fff; }
.btn-secondary {
    background-color: transparent; border: 2px solid var(--col-white); color: var(--col-white);
    padding: 13px 35px; border-radius: 50px;
    font-weight: 700; font-size: 1.1rem; display: inline-block;
}
.btn-secondary:hover { background-color: var(--col-white); color: var(--col-primary); }

/* Intro texte */
.intro-content { max-width: 900px; margin: 0 auto; font-size: 1.1rem; }

/* CORRECTION PUCES INTRO (Check-list verte) */
.check-list { margin-top: 30px; }
.check-list li { 
    margin-bottom: 15px; 
    position: relative; 
    padding-left: 30px; /* Espace pour la puce */
    list-style: none;   /* On cache la puce par défaut pour mettre la nôtre */
}
.check-list li::before { 
    content: "•"; 
    color: var(--col-primary); 
    position: absolute; 
    left: 0; 
    font-size: 2rem; /* Gros point vert */
    line-height: 1; 
    top: -5px; 
}

/* --- 4. SERVICES --- */
.subtitle { color: var(--col-text-light); max-width: 600px; margin: 0 auto 50px; font-size: 1.1rem; }

.services-modern-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
}
.service-card-modern {
    background: var(--col-white); border-radius: var(--radius-std);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
    display: flex; align-items: flex-start; gap: 20px;
    border: 1px solid rgba(145, 178, 157, 0.2);
}
.service-card-modern:hover { box-shadow: var(--shadow-hover); border-color: var(--col-primary); }

.icon-circle-large {
    width: 70px; height: 70px; flex-shrink: 0;
    background-color: var(--col-primary); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.card-content h3 { font-size: 1.4rem; margin-bottom: 15px; }

/* CORRECTION PUCES SERVICES (Liste simple) */
.check-list-simple { 
    padding-left: 20px; /* Indentation nécessaire pour voir les puces */
    margin-top: 10px;
    list-style: disc;   /* Force l'affichage des puces rondes */
}
.check-list-simple li { 
    margin-bottom: 8px; 
    font-size: 0.95rem; 
    color: var(--col-text-light); 
    list-style-type: disc; /* Sécurité supplémentaire */
}

/* --- 5. VALEURS --- */
.features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.feature-card {
    padding: 40px 30px; border-radius: var(--radius-std);
    text-align: center; transition: 0.3s;
}
.feature-card.yellow-theme { background-color: var(--col-bg-yellow); }
.feature-card.yellow-theme:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(233, 196, 106, 0.3); }

.icon-box {
    width: 70px; height: 70px; background: rgba(255,255,255,0.6); color: var(--col-text-dark);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 20px;
}
.feature-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--col-text-dark); }
.feature-card p { font-size: 0.95rem; color: var(--col-text-dark); opacity: 0.9; }

/* --- 6. CREDIT IMPOT (Optimisé) --- */
.urssaf-section { background-color: var(--col-bg-yellow); padding: 80px 0; margin: 80px 0; }
.urssaf-inner { display: flex; align-items: center; gap: 60px; }

/* Image */
.urssaf-img-col img { 
    border-radius: var(--radius-std); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    width: 365px; 
    max-width: 100%;
}

/* Contenu */
.badge { background: var(--col-primary); color: #fff; padding: 5px 12px; border-radius: 4px; font-weight: 700; font-size: 0.8rem; }
.urssaf-content h2 { margin-bottom: 10px; margin-top: 10px; }
.urssaf-logo-box {
    display: flex; align-items: center; gap: 20px; margin-top: 25px;
}
.urssaf-logo { max-width: 150px; }

/* --- 7. TARIFS --- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.pricing-card {
    background: var(--col-white); border-radius: var(--radius-std);
    box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column; transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.05); overflow: hidden;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pricing-card.featured { border: 2px solid var(--col-primary); transform: scale(1.05); z-index: 2; }

.card-header { background: var(--col-bg-light); padding: 25px; border-bottom: 1px solid #eee; text-align: center; }
.card-header h3 { margin: 0; font-size: 1.3rem; color: var(--col-primary); }
.card-body { padding: 30px; flex: 1; text-align: center; }
.note { font-size: 0.9rem; color: var(--col-text-light); margin-top: 15px; font-style: italic; }
.card-footer { background: var(--col-primary); color: #fff; padding: 20px; text-align: center; }
.price-full { display: block; font-size: 0.9rem; opacity: 1; text-decoration: line-through; }
.price-discount { display: block; font-size: 1.2rem; font-weight: 700; margin-top: 5px; color: var(--col-accent) !important; }

/* --- 8. FOOTER --- */
footer { background: var(--col-primary); color: white; padding: 80px 0 30px; }
.footer-cta { text-align: center; margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-cta h2 { color: white; margin-bottom: 10px; }
.contact-methods { display: flex; justify-content: center; gap: 20px; margin: 30px 0; flex-wrap: wrap; }
.contact-pill {
    background: var(--col-accent); color: var(--col-text-dark); padding: 12px 30px;
    border-radius: 50px; font-size: 1.1rem; transition: 0.3s; font-weight: 700;
}
.contact-pill:hover { background: #fff; transform: translateY(-2px); }
.zone-info { font-size: 0.95rem; margin-top: 20px; font-weight: 600;}
.footer-bottom-row { display: flex; flex-direction: column; align-items: center; font-size: 0.85rem; gap: 5px; }
.footer-bottom-row a {
    color: #ffffff !important; /* Liens en blanc pur */
    opacity: 1 !important;
}


/* --- 9. RESPONSIVE (MEDIA QUERIES) --- */
/* Tablettes et petits ordis */
@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    
    /* Passage en colonne pour les grilles */
    .pricing-grid, .features-grid, .services-modern-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    
    /* CREDIT IMPOT - TABLETTE/MOBILE */
    .urssaf-inner { 
        flex-direction: column; 
    }
    .urssaf-content { 
        text-align: center; 
        display: flex; flex-direction: column; align-items: center;
    }
    /* Centre l'image proprement */
    .urssaf-img-col {
        width: 100%;
        display: flex; justify-content: center;
        margin-bottom: 30px;
    }
    .urssaf-img-col img { margin: 0; }
    
    /* Logo Urssaf et Bouton en colonne */
    .urssaf-logo-box {
        flex-direction: column; gap: 15px; width: 100%;
    }
}

/* Mobiles uniquement */
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    
    .intro-section { padding-left: 20px; padding-right: 20px; text-align: justify; }
    
    .pricing-grid { gap: 20px; }
}