/*
Theme Name: Plan and Co
Author: Plan and Co
Description: Thème sur mesure pour Plan and Co et Tuto Urba.
Version: 1.0.0
Text Domain: planandco
*/

:root {
  --ink: #172321;
  --paper: #f6f3ec;
  --white: #fffdf8;
  --sage: #9eb5a8;
  --forest: #23443d;
  --terracotta: #c96f4a;
  --line: rgba(23, 35, 33, .16);
  --max: 1180px;
}

/* Identité visuelle officielle Plan and Co */
:root{--ink:#242424;--paper:#f8f5ef;--white:#fffdfa;--sage:#e4f0eb;--forest:#007c62;--terracotta:#fa8521}
body{font-family:Montserrat,Arial,sans-serif;background:var(--paper)}
.container{width:min(calc(100% - 56px),1440px)}
.site-header{background:rgba(248,245,239,.96)}.nav-wrap{min-height:112px}.brand-official{gap:16px}.brand-official img{width:82px;height:82px;object-fit:cover;object-position:center 38%}.brand-official span{display:flex;flex-direction:column;line-height:1}.brand-official strong{font-size:1.55rem}.brand-official small{margin-top:8px;font-size:.72rem;letter-spacing:.28em;font-weight:500}.nav-menu{gap:34px}.nav-menu a{font-size:1.02rem}.nav-menu .tuto-link{color:var(--terracotta)}.nav-cta{min-height:52px;border-radius:28px;padding:0 25px;color:white!important}
.hero-brand{padding:48px 0 55px}.hero-brand::before{display:none}.hero-grid-brand{display:grid;grid-template-columns:.72fr 1.28fr;gap:58px;align-items:center}.hero-copy h1{margin:24px 0;font:800 clamp(3rem,5vw,5.5rem)/.98 Arial,sans-serif;letter-spacing:-.055em}.brand-rule{display:block;width:110px;height:7px;background:var(--forest)}.hero-copy .lead{max-width:560px;color:var(--ink);font-size:1.38rem;line-height:1.5}.hero-button{margin-top:22px;min-height:66px;border-radius:18px;font-size:1.12rem}.hero-button span,.nav-cta span,.path-card a span,.tuto-button span{margin-left:14px;font-size:1.4em}.hero-photo-wrap{position:relative;overflow:hidden;border:3px solid var(--forest);height:560px;background:#eee}.hero-photo{width:100%;height:100%;object-fit:cover}.hero-arc{position:absolute;width:180px;height:180px;right:-85px;bottom:-90px;border:6px solid var(--forest);border-radius:50%;background:var(--paper)}
.pathways{padding:0 0 75px}.pathway-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.path-card{min-height:210px;padding:34px 42px;display:grid;grid-template-columns:.75fr 1.25fr;align-items:center;gap:34px;border-radius:16px}.plan-path{background:linear-gradient(120deg,#e2f3ee,#f0f8f5)}.tuto-path{background:linear-gradient(120deg,#fff2e6,#ffe7d1)}.path-card h2{margin:0 0 20px;font:800 clamp(1.65rem,2.5vw,2.5rem)/1.05 Arial,sans-serif}.path-card a{font-size:1.22rem;text-underline-offset:6px}.path-card a span{color:var(--forest)}.tuto-path a span{color:var(--terracotta)}.tuto-path img{width:100%;max-height:120px;object-fit:contain}.line-house{height:130px;border-right:1px solid rgba(36,36,36,.3);position:relative}.line-house::before{content:"";position:absolute;inset:20px 40px 10px 12px;border:3px solid #15556a;border-top:0}.line-house::after{content:"";position:absolute;width:72px;height:72px;left:42px;top:5px;border-left:3px solid #15556a;border-top:3px solid #15556a;transform:rotate(45deg)}
.section{padding:100px 0}.section h2{font-family:Arial,sans-serif;font-weight:800}.eyebrow{color:var(--forest)}.services-section{background:#fffdfa}.service-card{border-top:5px solid var(--forest);border-radius:4px;box-shadow:0 12px 32px rgba(36,36,36,.06)}.service-card:nth-child(2){border-color:var(--forest)}.service-index{color:var(--forest);font-weight:800;letter-spacing:.14em}.realisations-section{background:#e4f0eb}.project-visual{position:relative;min-height:520px;overflow:hidden;border:2px solid var(--forest)}.project-visual img{width:100%;height:520px;object-fit:cover}.project-visual span{position:absolute;left:24px;bottom:24px;padding:12px 16px;background:rgba(248,245,239,.92);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}.tuto-section{background:#fff5eb}.tuto-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;align-items:center}.tuto-brand-panel{padding:45px;background:white;border:1px solid rgba(250,133,33,.35);box-shadow:18px 18px 0 #ffe5cd}.tuto-brand-panel img{width:100%}.tuto-brand-panel p{margin:18px 0 0;text-align:center;letter-spacing:.12em}.orange{color:var(--terracotta)}.tuto-button{background:var(--terracotta);border-color:var(--terracotta);margin-top:28px}.tuto-button:hover{background:#dc6c0c}.contact-section{background:var(--paper)}.cta{background:var(--forest)}.cta .eyebrow{color:#bfe4d8}
@media(max-width:1050px){.brand-official span{display:none}.nav-menu{gap:16px}.hero-grid-brand{grid-template-columns:1fr}.hero-photo-wrap{height:470px}.pathway-grid,.tuto-layout{grid-template-columns:1fr}}
@media(max-width:720px){.container{width:min(calc(100% - 30px),1440px)}.nav-wrap{min-height:86px;padding:10px 0}.brand-official img{width:60px;height:60px}.nav-menu li:not(:last-child){display:none}.nav-cta{min-height:44px;padding:0 16px;font-size:.86rem!important}.hero-brand{padding-top:42px}.hero-copy h1{font-size:3.35rem}.hero-copy .lead{font-size:1.12rem}.hero-photo-wrap{height:300px}.path-card{grid-template-columns:1fr;padding:28px}.line-house{display:none}.path-card h2{font-size:2rem}.tuto-path img{max-width:260px}.services{grid-template-columns:1fr}.remote-grid{grid-template-columns:1fr}.project-visual,.project-visual img{min-height:320px;height:320px}.steps{grid-template-columns:1fr 1fr}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(246,243,236,.94); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; font-size: 1.2rem; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--forest); border-radius: 50% 50% 50% 10%; }
.nav-menu { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 0; margin: 0; }
.nav-menu a { text-decoration: none; font-weight: 650; font-size: .94rem; }
.nav-menu a:hover { color: var(--terracotta); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--forest); border-radius: 4px; background: var(--forest); color: white; text-decoration: none; font-weight: 750; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #18342f; }
.button.alt { background: transparent; color: var(--forest); }
.button.light { border-color: white; background: white; color: var(--forest); }
.hero { position: relative; overflow: hidden; padding: 105px 0 88px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .26; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right,#000,transparent 78%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.eyebrow { color: var(--terracotta); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 850; }
h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 850px; margin: 15px 0 25px; font-size: clamp(3rem, 6.4vw, 6.6rem); }
h2 { margin: 10px 0 20px; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: 1.55rem; }
.lead { max-width: 720px; font-size: 1.2rem; color: #40514d; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.plan-card { position: relative; min-height: 440px; border: 1px solid var(--line); background: var(--white); box-shadow: 20px 22px 0 var(--sage); padding: 38px; }
.plan-card::after { content: "PCMI • DP • PLANS"; position: absolute; right: -68px; top: 82px; color: var(--sage); font-size: .68rem; letter-spacing: .25em; transform: rotate(90deg); }
.plan-lines { height: 250px; margin-top: 25px; background: linear-gradient(90deg,transparent 49%,var(--line) 50%,transparent 51%), linear-gradient(transparent 49%,var(--line) 50%,transparent 51%); background-size: 70px 70px; border: 2px solid var(--forest); position: relative; }
.plan-lines::before,.plan-lines::after { content: ""; position: absolute; border: 2px solid var(--terracotta); }
.plan-lines::before { width: 52%; height: 38%; left: 12%; top: 16%; }
.plan-lines::after { width: 28%; height: 52%; right: 9%; bottom: 10%; }
.section { padding: 95px 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--forest); color: white; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choice { padding: 45px; border: 1px solid var(--line); background: var(--white); }
.choice.tuto { background: #e8eee9; }
.number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--terracotta); color: white; font-weight: 850; }
.choice ul,.service-card ul { padding-left: 20px; }
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { padding: 32px; border-top: 4px solid var(--sage); background: var(--white); }
.service-card:nth-child(2) { border-color: var(--terracotta); }
.service-card:nth-child(3) { border-color: var(--forest); }
.remote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.france { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: radial-gradient(circle,rgba(255,255,255,.13) 0 2px,transparent 3px) 0 0/22px 22px; }
.france strong { max-width: 250px; text-align: center; font: 2.4rem/1.1 Georgia,serif; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step { counter-increment: steps; padding: 28px; border-left: 1px solid var(--line); }
.step::before { content: "0" counter(steps); color: var(--terracotta); font-weight: 850; letter-spacing: .12em; }
.notice { margin-top: 38px; padding: 22px; border: 1px solid var(--line); background: #f0ede4; font-size: .92rem; }
.cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; padding: 60px; background: var(--terracotta); color: white; }
.cta h2 { margin-top: 0; }
.site-footer { padding: 55px 0 28px; background: #11201d; color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-grid a { color: inherit; }
.copyright { margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }

@media (max-width: 850px) {
  .nav-wrap { align-items: flex-start; padding: 16px 0; }
  .nav-menu { justify-content: flex-end; gap: 12px; }
  .hero-grid,.remote-grid,.cta { grid-template-columns: 1fr; }
  .plan-card { display: none; }
  .choice-grid,.services,.steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
}

