/* =====================================================================
   L'ANCOLIE — SYSTÈME DE DESIGN (sept. 2026)
   5 couleurs · 4 tailles · composants badge / bouton · zéro emoji
   Chargée après style.css : elle harmonise, elle ne remplace pas.
   ===================================================================== */
:root{
    --c-primary: #1A9BA1;
    --c-ink: #14303B;
    --c-sand: #F3EEE4;
    --c-gold: #B8955A;
    --c-white: #FFFFFF;
    --c-muted: #4E5F67;
    --t-1: 40px; --t-2: 28px; --t-3: 20px; --t-body: 16px; --t-small: 13.5px;
    --r: 8px;
}
body{ color: var(--c-ink); }
h1{ font-size: var(--t-1); letter-spacing: .5px; line-height: 1.1; }
h2{ font-size: var(--t-2); letter-spacing: .3px; }
h3{ font-size: var(--t-3); }
a{ color: var(--c-primary); }

/* ---- Composants ---- */
.btn{ display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--c-primary); color: #fff; font-weight: 700; padding: 13px 26px; border-radius: var(--r); text-decoration: none; letter-spacing: .3px; border: 2px solid var(--c-primary); }
.btn:hover{ background: #158489; border-color: #158489; color: #fff; }
.btn.ghost{ background: transparent; color: var(--c-primary); }
.btn.ghost:hover{ background: rgba(26, 155, 161, .08); color: var(--c-primary); }
.tag{ display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; white-space: nowrap; line-height: 1; }
.tag.primary{ background: var(--c-primary); color: #fff; }
.tag.gold{ background: rgba(184, 149, 90, .12); color: var(--c-gold); border: 1px solid rgba(184, 149, 90, .45); }
.tag.light{ background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.kicker{ display: block; font-size: var(--t-small); letter-spacing: 2.5px; text-transform: uppercase; color: var(--c-primary); font-weight: 700; margin-bottom: 8px; }
.live-dot{ width: 8px; height: 8px; border-radius: 50%; background: #E03E3E; display: inline-block; flex-shrink: 0; animation: pulse-live 1.6s infinite; }
@keyframes pulse-live{ 0%, 100%{ opacity: 1; } 50%{ opacity: .3; } }
.ico-line{ width: 34px; height: 34px; stroke: var(--c-primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Header : 5 éléments, le bloc Facebook disparaît ---- */
.navbar-right .reseaux{ display: none !important; }
.meteo-header{ border-color: var(--c-primary) !important; color: var(--c-primary) !important; font-size: 13.5px !important; }

/* ---- Hero : une promesse, un bouton, un lien ---- */
.banner .hero-kicker{ display: block; font-size: var(--t-small); letter-spacing: 2.5px; text-transform: uppercase; color: #fff; opacity: .9; font-weight: 700; margin-bottom: 10px; }
.banner h1{ margin-bottom: 8px; }
.banner .sub-title{ font-size: 19px !important; letter-spacing: 0 !important; text-transform: none !important; opacity: .95; margin-bottom: 22px !important; line-height: 1.35 !important; }
.banner .hero-actions{ display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.banner .hero-live{ border-bottom: 2px solid rgba(255, 255, 255, .5); font-weight: 700; font-size: 15px; }
@media (max-width: 834px){
    .banner .hero-kicker{ color: var(--c-primary); }
    .banner .hero-actions{ justify-content: center; }
}

/* ---- Cartes : un badge photo + une ligne de méta ---- */
.card{ position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 14px rgba(20, 48, 59, .08); }
.card .card-tag{ position: absolute; top: 14px; left: 14px; z-index: 2; }
.card .card-meta{ color: var(--c-muted); font-size: var(--t-small); margin: 4px 0 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card .card-meta b{ color: var(--c-ink); }
.card .card-meta .sep{ opacity: .35; }
.card .card-foot{ display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---- Services : tuiles homogènes ---- */
#section_services{ background: var(--c-sand); }
#section_services .services > div{ background: #fff; border-radius: var(--r); padding: 20px 18px; text-align: center; }
#section_services .text-service{ font-size: 15px; }

/* ---- Footer : bleu nuit ---- */
.footer-1{ background: var(--c-sand); }
.footer-2{ background: var(--c-ink) !important; color: #fff; }
.footer-2 p, .footer-2 a, .footer-2 h4, .footer-2 .subtitle-footer{ color: #fff !important; }
.footer-2 a:hover{ color: var(--c-primary) !important; }

/* ---- Fiches : bloc option, ligne rénovation, note ---- */
.reno-line{ color: var(--c-primary); font-weight: 700; margin-bottom: .8rem; }
.option-block{ border-left: 5px solid var(--c-gold); background: #fff; box-shadow: 0 2px 14px rgba(20, 48, 59, .06); border-radius: var(--r); padding: 22px 24px; margin: 1.5rem 0 2rem; }
.option-block h3{ font-size: var(--t-3); color: var(--c-primary); margin-bottom: 6px; text-transform: none; }
.option-block .formula{ font-size: 28px; font-weight: 700; margin-bottom: 10px; color: var(--c-ink); }
.option-block .formula span{ color: var(--c-gold); }
.option-block p{ line-height: 1.6; margin-bottom: 10px; }
.option-block ul{ list-style: none; line-height: 1.9; margin-bottom: 12px; }
.option-block ul li i{ color: var(--c-primary); }
.option-block .photos{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 16px; }
.option-block .photos img{ width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; display: block; }
.option-block .wa{ display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; color: #25D366; font-weight: 700; text-decoration: none; }
.option-block .wa img{ width: 18px; height: 18px; background: #25D366; border-radius: 50%; padding: 3px; }

/* ---- Galerie : pilule live ---- */
.pill-live{ display: inline-flex; align-items: center; gap: 9px; background: rgba(26, 155, 161, .07); border: 1px solid var(--c-primary); color: var(--c-primary); font-weight: 700; padding: 10px 18px; border-radius: 24px; text-decoration: none; }

/* ---- Pages annexes : titres et cartes homogènes ---- */
#faq h2, #collab h2, #endirect h2, #velo h2{ font-size: 24px; color: var(--c-ink); text-transform: none; margin: 2.2rem 0 .9rem; }
.col-card, .cam-card .cam-frame, #velo .svc{ border-radius: var(--r); }

/* ---- Services : 2 lignes de 4 tuiles ---- */
#section_services .services{ grid-template-columns: repeat(4, 1fr) !important; grid-gap: 20px !important; }
@media (max-width: 834px){ #section_services .services{ grid-template-columns: repeat(2, 1fr) !important; } }

/* ---- Footer : clair pour laisser vivre le logo, caution Gîtes de France ---- */
.footer-2{ background: var(--c-sand) !important; color: var(--c-ink); border-top: 1px solid rgba(26, 155, 161, .3) !important; }
.footer-2 p, .footer-2 h4, .footer-2 .subtitle-footer{ color: var(--c-ink) !important; }
.footer-2 a{ color: var(--c-ink) !important; }
.footer-2 a:hover{ color: var(--c-primary) !important; }
.footer-2 .gdf-footer{ display: flex; align-items: center; gap: 12px; margin-top: 14px; text-decoration: none; }
.footer-2 .gdf-footer img{ width: 64px; height: auto; }
.footer-2 .gdf-footer span{ font-size: 12.5px; line-height: 1.35; color: var(--c-muted) !important; }

/* ---- Hero : la photo occupe le premier écran ---- */
#banner{ margin-top: 0 !important; }
.fond-img{ height: calc(100vh - 96px) !important; min-height: 520px !important; max-height: 760px !important; }
@media (max-width: 834px){ .fond-img{ height: 60vh !important; min-height: 300px !important; max-height: none !important; } }


/* ===== Styles des pages (rapatriés) ===== */
/* ---- faq.php ---- */
#faq .wrapper{ padding: 2rem 0 3rem; }
        #faq h1{ margin-bottom: 2rem; }
        #faq .faq-item{ margin-bottom: 1.5rem; border-bottom: 1px solid #ebebeb; padding-bottom: 1.5rem; }
        #faq .faq-item h2{ font-size: 20px; color: #1a9ba1; margin-bottom: .75rem; text-transform: none; }
        #faq .faq-item p{ line-height: 1.6; }

/* ---- collaborations.php ---- */
#collab .wrapper{ padding: 2rem 0 3rem; }
        #collab h1{ margin-bottom: 1rem; }
        #collab .intro{ margin-bottom: 2.2rem; font-size: 1.05em; }
        #collab .collab-item{ margin-bottom: 2rem; border-bottom: 1px solid #ebebeb; padding-bottom: 2rem; }
        #collab .collab-item h2{ font-size: 21px; color: var(--c-primary); margin-bottom: .75rem; text-transform: none; }
        #collab .collab-item p{ line-height: 1.65; margin-bottom: 1rem; }
        #collab .collab-item .btn{ display: inline-block; }
        #collab .collab-item:last-child{ border-bottom: none; }

/* ---- bessans-en-direct.php ---- */
#endirect .wrapper{ padding: 2rem 0 3rem; }
        #endirect h1{ margin-bottom: 1rem; }
        #endirect .intro{ margin-bottom: 2rem; font-size: 1.05em; }
        #endirect h2{ font-size: 21px; color: var(--c-primary); margin: 2rem 0 .9rem; text-transform: none; }
        #endirect .meteo-grand{ font-size: 1.5em; font-weight: bold; color: var(--c-primary); }
        #endirect .liens-direct a{ display: block; margin-bottom: .6rem; text-decoration: underline; }
        #endirect .btn{ display: inline-block; margin-top: 1.5rem; }
        #endirect .cam-card{ margin-bottom: 2.5rem; }
        #endirect .cam-card h3{ font-size: 17px; color: var(--c-ink); margin-bottom: .8rem; font-weight: bold; text-transform: none; display: flex; align-items: center; gap: 8px; }
        #endirect .cam-card h3 .dot{ width: 9px; height: 9px; border-radius: 50%; background: #e03e3e; display: inline-block; animation: pulse-live 1.6s infinite; }
        @keyframes pulse-live{ 0%, 100%{ opacity: 1; } 50%{ opacity: .35; } }
        #endirect .cam-card .cam-frame{ border-radius: 10px; overflow: hidden; box-shadow: 0 6px 22px rgba(0, 0, 0, .14); background: #000; }
        #endirect .cam-card iframe{ width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; display: block; }

/* ---- velo.php ---- */

        
        
        
        
        #velo .wrapper{ padding: 2rem 0 3rem; }
        #velo h2{ font-size: 21px; color: var(--c-primary); margin: 2.2rem 0 1rem; text-transform: none; }
        #velo .cols{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
        #velo .col-card{ border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px 18px; }
        #velo .col-card b{ display: block; margin-bottom: 4px; font-size: 16px; }
        #velo .col-card small{ color: #888; display: block; margin-top: 6px; }
        #velo .svcs{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
        #velo .svc{ background: #F7FBFB; border: 1px solid #DFF0F1; border-radius: 8px; padding: 18px 10px; font-size: 14px; }
        #velo .svc i{ font-size: 26px; color: var(--c-primary); display: block; margin-bottom: 8px; }
        #velo .cta-row{ margin-top: 2rem; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
        #velo .btn-wa{ display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; font-weight: bold; padding: 12px 22px; border-radius: 4px; text-decoration: none; }
        @media (max-width: 834px){ #velo .cols, #velo .svcs{ grid-template-columns: 1fr 1fr; }  }

/* ---- En-têtes de page ---- */
.wrapper > .kicker, section .kicker{ margin-top: .5rem; }
section h1{ margin-bottom: .6rem; }

#velo .hero-velo-text{ padding: 48px 40px; }
#velo .hero-velo-photo{ background: url(/public/images/fonds/residenceancolie.jpg) center 60% / cover no-repeat; min-height: 380px; }
@media (max-width: 834px){  #velo .hero-velo-text{ padding: 28px 22px; } #velo .hero-velo-photo{ min-height: 220px; order: -1; } }

/* ---- Icônes : un seul jeu linéaire ---- */
.ico-check{ width: 18px; height: 18px; stroke: var(--c-primary); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 4px; }
.ico-btn{ width: 20px; height: 20px; stroke: currentColor; }
#velo .svc .ico-line{ display: block; margin: 0 auto 8px; }
.option-block .wa{ color: var(--c-primary); }
.btn-row{ display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row .btn{ margin-bottom: 0; }


/* ---- Tuiles de services réutilisables (page vélo) ---- */
.velo-services{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 1rem; }
.velo-services > div{ background: #fff; border-radius: var(--r); padding: 22px 16px; text-align: center; }
.velo-services .card-icon{ width: 64px; height: auto; margin-bottom: 10px; }
.velo-services .text-service{ font-size: 15px; }
@media (max-width: 834px){ .velo-services{ grid-template-columns: repeat(2, 1fr); } }

.velo-services-band{ background: var(--c-sand); border-radius: var(--r); padding: 8px 24px 28px; margin: 2rem 0; }
.velo-services-band h2{ margin-top: 1.4rem; }

/* ---- Page vélo : cartes des cols au style des cartes de l'accueil ---- */
#velo .col-card{ border: none; box-shadow: 0 2px 14px rgba(20, 48, 59, .08); background: #fff; padding: 20px 22px; }
#velo .col-card b{ color: var(--c-ink); }
#velo .col-card small{ color: var(--c-muted); }
#velo .cols{ gap: 24px; }

/* ---- Page vélo : le hero de l'accueil, la maison dégagée ---- */
#velo .hero-velo{ position: relative; height: 480px; border-radius: var(--r); overflow: hidden; margin: 1.5rem 0 0; color: #fff;
    background: url(/public/images/fonds/residenceancolie.jpg) 78% 60% / cover no-repeat; }
#velo .hero-velo::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 25, 35, .72) 100%), linear-gradient(90deg, rgba(10, 25, 35, .35) 0%, rgba(10, 25, 35, 0) 55%); pointer-events: none; }
#velo .hero-velo-text{ position: absolute; left: 5%; bottom: 9%; width: 42%; max-width: 560px; z-index: 1; }
#velo .hero-velo h1{ color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); margin-bottom: 8px; }
#velo .hero-velo .sub-title{ color: #fff; font-size: 19px; line-height: 1.35; margin-bottom: 22px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
#velo .hero-velo .sub-title b{ color: #fff; }
#velo .hero-velo .hero-actions{ display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
#velo .hero-velo .hero-live{ color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .5); font-weight: 700; font-size: 15px; }
#velo .hero-velo .hero-kicker{ display: block; font-size: var(--t-small); letter-spacing: 2.5px; text-transform: uppercase; color: #fff; opacity: .9; font-weight: 700; margin-bottom: 10px; }
#velo h2{ font-size: var(--t-2); color: var(--c-ink); margin: .2rem 0 1rem; }
@media (max-width: 834px){ #velo .hero-velo{ height: auto; background-position: 70% 40%; } #velo .hero-velo-text{ position: relative; left: auto; bottom: auto; width: 100%; max-width: none; padding: 220px 22px 28px; } }

/* ---- Cartes-liens (ressources externes) ---- */
.liens-direct{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1rem 0 2rem; }
.link-card{ display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--c-sand); border-radius: var(--r); padding: 18px 20px; color: var(--c-ink) !important; text-decoration: none !important; font-weight: 700; border: none !important; width: auto !important; }
.link-card i{ color: var(--c-primary); flex-shrink: 0; }
.link-card:hover{ background: #EAE3D4; }
@media (max-width: 834px){ .liens-direct{ grid-template-columns: 1fr; } }
/* ---- Titres de section des pages annexes : comme l'accueil ---- */
#endirect h2, #collab h2{ font-size: var(--t-2); color: var(--c-ink); margin: 2.2rem 0 1rem; }
#faq h2{ color: var(--c-ink); }
