/*
Theme Name:   Hello Elementor Child
Theme URI:    https://votresite.com
Description:  Thème enfant pour Hello Elementor
Author:       Votre Nom
Author URI:   https://votresite.com
Template:     hello-elementor
Version:      1.0.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/
/* === TEST CHILD CSS === */



/* Sticky header (Hello / header du thème) */
.site-header, header.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Header toujours opaque */
.site-header,
header.site-header {
  background-color: #F4F1EC; /* mets TA couleur exacte */
  opacity: 1;
}

/* Sécurité : éviter toute transparence héritée */
.site-header * {
  background-color: transparent;
}

/* Optionnel : si tu as une ombre légère quand ça colle */
.site-header {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Important si tu es connecté (barre admin WP en haut) */
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px){
  body.admin-bar .site-header { top: 46px; }
}

/* --- Scroll offset pour header sticky --- */
.elementor-element {
  scroll-margin-top: 96px;
}

/* Sections standard – desktop */
.section-standard {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
}

/* Tablette */
@media (max-width: 1024px) {
  .section-standard {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-standard {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Espacement titres → texte */
.elementor-heading-title {
  margin-bottom: 1.3em;
}

/* Espacement avant les titres (optionnel mais conseillé) */
.elementor-heading-title {
  margin-top: 1.6em;
}

h3 {
  margin-top: 1.4em;
}

h4 {
  margin-top: 1.2em;
}

/* Fix global pour tous les titres Elementor (H1/H2/H3… et même si le tag n'est pas h2) */
body .elementor-widget-heading .elementor-heading-title{
  line-height: 1.2em !important;
}

/* Sécurité : si un titre utilise la classe sans être dans le widget Heading */
body .elementor-heading-title{
  line-height: 1.2em !important;
}

body .elementor-widget-heading,
body .elementor-widget-heading .elementor-widget-container{
  height: auto !important;
  min-height: 0 !important;
}

body .elementor-heading-title{
  position: static !important;
}

/* =========================================================
   IDENTITÉ DU SITE
   ========================================================= */

/* Masque visuellement le titre général dans l’en-tête,
   sans supprimer le titre renseigné dans WordPress */
.site-header .site-branding {
    display: none !important;
}

.site-header {
    padding-top: 0 !important;
}


/* =========================================================
   PAGES JURIDIQUES
   ========================================================= */

.legal-page,
.privacy-page {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 30px;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.7;
}

/* Titre principal H1 */

.legal-page h1,
.privacy-page h1 {
    margin: 0 0 32px;
    color: #17324d !important;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

/* Titres des sections */

.legal-page h2,
.privacy-page h2 {
    margin: 42px 0 16px;
    color: #17324d !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

/* Premier H2 après le H1 */

.legal-page h1 + h2,
.privacy-page h1 + h2 {
    margin-top: 0;
}

/* Paragraphes et listes */

.legal-page p,
.privacy-page p,
.legal-page li,
.privacy-page li,
.legal-page strong,
.privacy-page strong {
    color: #1f2937 !important;
}

.legal-page p,
.privacy-page p,
.legal-page ul,
.privacy-page ul {
    margin-top: 0;
    margin-bottom: 20px;
}

.legal-page ul,
.privacy-page ul {
    padding-left: 24px;
}

/* Liens */

.legal-page a,
.privacy-page a {
    color: #176b87 !important;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page a:hover,
.privacy-page a:hover {
    color: #b65f36 !important;
}

.legal-page a:focus-visible,
.privacy-page a:focus-visible {
    outline: 3px solid #f97316;
    outline-offset: 3px;
}


/* =========================================================
   VERSION MOBILE
   ========================================================= */

@media (max-width: 767px) {
    .legal-page,
    .privacy-page {
        padding: 32px 20px;
        font-size: 16px;
    }

    .legal-page h1,
    .privacy-page h1 {
        margin-bottom: 26px;
        font-size: 34px;
    }

    .legal-page h2,
    .privacy-page h2 {
        margin-top: 34px;
        font-size: 25px;
    }
}
/* =========================================================
   PIED DE PAGE GLOBAL — HUÎTRES TIRONNEAU
   ========================================================= */

.tironneau-footer {
    box-sizing: border-box;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 56px 30px 0;
    background-color: #080808;
    color: #f4f1ec;
    border-top: 4px solid #f97316;
}

.tironneau-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.tironneau-footer__column h2 {
    margin: 0 0 20px;
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.tironneau-footer__column p,
.tironneau-footer__column li,
.tironneau-footer__bottom p {
    color: #f4f1ec !important;
    font-size: 16px;
    line-height: 1.7;
}

.tironneau-footer__column p {
    margin: 0 0 18px;
}

.tironneau-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tironneau-footer__column li {
    margin-bottom: 12px;
}

.tironneau-footer__column a {
    color: #f4f1ec !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tironneau-footer__column a:hover {
    color: #f97316 !important;
}

.tironneau-footer__column a:focus-visible {
    color: #f97316 !important;
    outline: 3px solid #f97316;
    outline-offset: 4px;
}

.tironneau-footer__bottom {
    width: 100%;
    max-width: 1180px;
    margin: 36px auto 0;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.tironneau-footer__bottom p {
    margin: 0;
    font-size: 14px;
}


/* Tablette */

@media (max-width: 1024px) {
    .tironneau-footer {
        padding: 44px 32px 0;
    }

    .tironneau-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .tironneau-footer__column:last-child {
        grid-column: 1 / -1;
    }
}


/* Téléphone */
@media (max-width: 767px) {
    .tironneau-footer {
        width: 100%;
        margin-left: 0;
        padding: 38px 20px 0;
        overflow-x: hidden;
    }

    .tironneau-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tironneau-footer__column:last-child {
        grid-column: auto;
    }

    .tironneau-footer__column h2 {
        font-size: 22px;
    }

    .tironneau-footer__bottom {
        margin-top: 30px;
        padding: 20px 0;
        text-align: left;
    }
}
