/*
Theme Name: GuidePhoto Child
Template: generatepress
Author: Francois Dumaine
Description: Theme enfant GeneratePress pour guide-photo.com - identite "La photo, simplement et sans prise de tete".
Version: 1.0
*/

:root{
  --gp-coral:#F4623A;
  --gp-ink:#16181d;
  --gp-cream:#FBF6EF;
  --gp-soft:#6f7178;
}

/* ---------- Typographie de marque ---------- */
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:var(--gp-ink);}
h1,h2,h3,h4,.gp-display{font-family:'Fraunces',Georgia,serif;font-weight:800;letter-spacing:-.01em;}
h1{font-weight:900;}
a{color:var(--gp-coral);}

/* ---------- Annotation manuscrite ---------- */
.gp-hand{font-family:'Caveat',cursive;font-weight:700;color:var(--gp-coral);}

/* ---------- Etiquette reglages EXIF ---------- */
.gp-tag{display:inline-block;background:rgba(22,24,29,.82);color:#fff;font-family:monospace;font-size:.78rem;letter-spacing:.04em;padding:4px 9px;border-radius:6px;}

/* ---------- Encadre "A retenir" (corail) ---------- */
.gp-keep{background:#FFF3EF;border-left:4px solid var(--gp-coral);border-radius:12px;padding:1rem 1.15rem;margin:1.4rem 0;}
.gp-keep .gp-keep-title{font-family:'Caveat',cursive;font-weight:700;color:var(--gp-coral);font-size:1.3rem;display:block;margin-bottom:.2rem;}

/* ---------- Encadre "Le piege" (sombre) ---------- */
.gp-trap{background:var(--gp-ink);color:#e7e9ed;border-left:4px solid #ffb020;border-radius:12px;padding:1rem 1.15rem;margin:1.4rem 0;}
.gp-trap .gp-trap-title{font-family:'Caveat',cursive;font-weight:700;color:#ffd27a;font-size:1.3rem;display:block;margin-bottom:.2rem;}

/* ---------- Boite "A toi de jouer" ---------- */
.gp-exo{border:2px solid var(--gp-ink);border-radius:16px;padding:1.4rem;margin:1.6rem 0;}
.gp-exo .gp-exo-kicker{font-family:'Caveat',cursive;font-weight:700;color:var(--gp-coral);font-size:1.3rem;}
.gp-exo .gp-exo-title{font-family:'Fraunces',serif;font-weight:800;font-size:1.25rem;margin:.1rem 0 .4rem;}

/* ---------- Boutons accent ---------- */
.gp-btn{display:inline-block;background:var(--gp-coral);color:#fff;padding:.7rem 1.1rem;border-radius:40px;font-weight:700;text-decoration:none;}
.gp-btn-ink{background:var(--gp-ink);color:#fff;}

/* ---------- Page d'accueil : masquer le titre de page ---------- */
.home .entry-header{display:none;}
.home .entry-content{margin-top:0;}
/* Sections pleine largeur sur l'accueil */
.home .site-content .content-area{max-width:100%;}
.home .entry-content > .gph{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
.home .gph > section, .home .gph > div{width:100%;}

/* ---------- Page pilier (hero custom) : pas de titre WP + pleine largeur ---------- */
.page-id-48932 .entry-header{display:none;}
.page-id-48932 .site-content .content-area{max-width:100%;}
.entry-content > .gpp{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
.entry-content > .gpp > *{width:100%;}

/* ---------- Pages institutionnelles (.gp-wrap) ---------- */
/* --- Styles partagés GuidePhoto (scopés .gp-) --- */
.gp-wrap{--gp-corail:#F4623A;--gp-encre:#16181d;--gp-creme:#FBF6EF;
  max-width:780px;margin:0 auto;padding:8px 20px 64px;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:#16181d;line-height:1.7;font-size:18px;}
.gp-wrap h1{font-family:'Fraunces',Georgia,serif;font-weight:600;
  font-size:clamp(2.1rem,6vw,3.2rem);line-height:1.1;letter-spacing:-.01em;
  margin:.2em 0 .35em;}
.gp-wrap h2{font-family:'Fraunces',Georgia,serif;font-weight:600;
  font-size:clamp(1.4rem,4vw,1.9rem);margin:1.8em 0 .5em;line-height:1.2;}
.gp-wrap h3{font-family:'Fraunces',Georgia,serif;font-weight:600;
  font-size:1.2rem;margin:1.4em 0 .35em;}
.gp-wrap p{margin:0 0 1.1em;}
.gp-wrap a{color:#F4623A;text-decoration:underline;text-underline-offset:2px;}
.gp-wrap em,.gp-wrap .gp-coral{color:#F4623A;}
.gp-kicker{font-family:'Caveat',cursive;font-size:1.7rem;color:#F4623A;
  transform:rotate(-2deg);display:inline-block;margin-bottom:-.2em;}
.gp-note{font-family:'Caveat',cursive;font-size:1.45rem;color:#F4623A;
  line-height:1.35;display:inline-block;transform:rotate(-1.5deg);}
.gp-card{background:#FBF6EF;border-radius:18px;padding:24px 28px;margin:28px 0;}
.gp-exif{display:inline-block;font-family:'Inter',monospace;font-size:.8rem;
  letter-spacing:.04em;background:#16181d;color:#FBF6EF;border-radius:999px;
  padding:5px 14px;margin:4px 6px 4px 0;}
.gp-hr{border:0;border-top:2px dashed rgba(22,24,29,.18);margin:40px 0;}
.gp-lead{font-size:1.25rem;line-height:1.55;}
.gp-fill{background:#fff3ee;color:#b23d1d;border:1px dashed #F4623A;
  border-radius:6px;padding:1px 7px;font-size:.92em;font-weight:600;
  font-family:'Inter',sans-serif;}
.gp-photo-ph{background:#FBF6EF;border:2px dashed rgba(22,24,29,.2);
  border-radius:18px;padding:46px 20px;text-align:center;color:#8a8378;
  font-style:italic;margin:28px 0;}
.gp-cta{display:inline-block;background:#F4623A;color:#fff;font-weight:600;
  text-decoration:none;border-radius:999px;padding:14px 30px;margin-top:6px;
  box-shadow:0 8px 22px rgba(244,98,58,.28);}
.gp-list{margin:0 0 1.1em;padding-left:1.2em;}
.gp-list li{margin:.4em 0;}

/* ---------- Pages texte : masquer le titre WP (titre propre dans le contenu) ---------- */
.page-id-43520 .entry-header,.page-id-486 .entry-header,.page-id-48937 .entry-header{display:none;}

/* Pages tunnel : titre masqué + pleine largeur */
.page-id-49014 .entry-header{display:none;}
.page-id-49014 .site-content .content-area{max-width:100%;}
.page-id-49015 .entry-header{display:none;}
.page-id-49015 .site-content .content-area{max-width:100%;}
.page-id-49016 .entry-header{display:none;}
.page-id-49016 .site-content .content-area{max-width:100%;}
.entry-content > .gpf{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
.entry-content > .gpf > *{width:100%;}

/* === Brique aimant (capture email) === */
.gp-magnet{background:linear-gradient(180deg,#FFF3EF,#FBF6EF);border:1.5px solid #F4623A;border-radius:16px;padding:26px 28px;margin:2.6rem 0;text-align:center;}
.gp-magnet .gp-magnet-kick{display:inline-block;background:#F4623A;color:#fff;font-weight:700;font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding:4px 12px;border-radius:30px;margin-bottom:10px;}
.gp-magnet h3{font-family:'Fraunces',serif;font-weight:800;font-size:1.5rem;line-height:1.12;margin:0 0 8px;color:#16181d;}
.gp-magnet p{color:#6f7178;max-width:48ch;margin:0 auto 14px;font-size:.98rem;}
.gp-magnet .gp-hand{font-family:'Caveat',cursive;color:#F4623A;font-size:1.15rem;}
.gp-magnet form{display:flex;gap:8px;max-width:430px;margin:6px auto 0;flex-wrap:wrap;justify-content:center;}
.gp-magnet input[type=email]{flex:1;min-width:200px;padding:13px 16px;border:1px solid #e4ddd2;border-radius:40px;font-size:15px;}
.gp-magnet button{background:#F4623A;color:#fff;border:0;padding:13px 24px;border-radius:40px;font-weight:700;cursor:pointer;font-size:15px;}
@media(max-width:600px){.gp-magnet{padding:22px 18px;}.gp-magnet h3{font-size:1.25rem;}}
